Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
DataAccess 1.9 .2, DataMapper 1.6.2
-
None
-
None
Description
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
set
{ this.bindingSourceUser.SuspendBinding(); this.bindingSourceUser.DataSource = value; this.bindingSourceUser.ResumeBinding(); } }
...
...