dataportal create failed
Old forum URL: forums.lhotka.net/forums/t/6320.aspx
pillesoft posted on Tuesday, February 03, 2009
i have an exception when i try to create a new buisness object
i have "DataPortal.Create failed ()" exception in Client\DataPortal.cs line 129
i downloaded the code from svn trunk
this is my code. the exception is occurs before my local DataPortal_Create() method
public static SafePwd NewSafePwd()
{
SafePwd obj = DataPortal.Create<SafePwd>();
return obj;
}
#endregion
#region Data Access
protected override void DataPortal_Create()
{
base.DataPortal_Create();
}
do you have any solution?
thank you
Ivan
pillesoft replied on Wednesday, February 04, 2009
ok
resolved.
the problem was that the constructor was privat (from experience of csla 3.0)
now it is public, and the object is created :-)
Ivan
Copyright (c) Marimer LLC