You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Allen R. Marshall (JIRA)" <ib...@incubator.apache.org> on 2008/11/11 18:29:44 UTC
[jira] Created: (IBATISNET-286) Tutorial for .NET 2 does not build.
Problem with Tutorial2.WinUI implementation of IBlogView
Tutorial for .NET 2 does not build. Problem with Tutorial2.WinUI implementation of IBlogView
---------------------------------------------------------------------------------------------
Key: IBATISNET-286
URL: https://issues.apache.org/jira/browse/IBATISNET-286
Project: iBatis for .NET
Issue Type: Bug
Components: Testing
Affects Versions: DataAccess 1.9 .2, DataMapper 1.6.2
Reporter: Allen R. Marshall
Priority: Blocker
For someone else, this may be trivial, but I have tried to figure out the problem to no avail.
1) Downloaded tutorial for .NET 2
2) Changed all calls to nUnit to use MbUnit instead.
3) Attempted to build. Tutorial2.WinUI will not build. Reports:
Error 1 The type or namespace name 'User' could not be found (are you missing a using directive or an assembly reference?) in ...\Tutorial2.WinUI\Login.cs 36 16 Tutorial2.WinUI
The error occurs because IBlogView interface has no property 'User ' - only Author, Blog, BIndingList, but it says by default:
...
#region IBlogView Members
public User User
{
....
So, I changed the file login.cs to look like (fragment) and it builds. I am not quite sure how this got checked in with :
...
...
#region IBlogView Members
public Author Author
{
get
{
return this.bindingSourceUser.DataSource as Author;
}
set
{
this.bindingSourceUser.SuspendBinding();
this.bindingSourceUser.DataSource = value;
this.bindingSourceUser.ResumeBinding();
}
}
...
...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.