This project is read-only.

Error in DAL Project

Jan 8, 2010 at 9:28 PM

i got this error on this procedure.

public DomainIseitzCustomer ParentParentIdIseitzCustomerItem
{
get
{
DomainIseitzCustomer returnVal = null;
if(!this.IsParentIdNull())
{
returnVal = this.ParentCol.GetIseitzCustomer(this.ParentId.Value);
if(returnVal == null)
{
IseitzCustomerPrimaryKey primaryKey = new IseitzCustomerPrimaryKey(this.ParentId.Value);
ArrayList al = new ArrayList();
al.Add(primaryKey);
this.ParentCol.SubDomain.AddSelectCommand(new IseitzCustomerSelectByPks(al));
this.ParentCol.SubDomain.RunSelectCommands();
returnVal = this.ParentCol.GetIseitzCustomer(this.ParentId.Value);
}
}
return returnVal;
}
set { this.ParentId = value.Id; }
}
public DomainIseitzCustomer ParentParentIdIseitzCustomerItem
{
get
{
DomainIseitzCustomer returnVal = null;
if(!this.IsParentIdNull())
{
returnVal = this.ParentCol.GetIseitzCustomer(this.ParentId.Value);
if(returnVal == null)
{
IseitzCustomerPrimaryKey primaryKey = new IseitzCustomerPrimaryKey(this.ParentId.Value);
ArrayList al = new ArrayList();
al.Add(primaryKey);
this.ParentCol.SubDomain.AddSelectCommand(new IseitzCustomerSelectByPks(al));
this.ParentCol.SubDomain.RunSelectCommands();
returnVal = this.ParentCol.GetIseitzCustomer(this.ParentId.Value);
}
}
return returnVal;
}
set { this.ParentId = value.Id; }

}

 

particularly in this code "IsParentIdNull()";


help me with this.

thanks

 

 

Jan 11, 2010 at 3:30 AM

I looked at the model you sent. Thanks so much. Please download the latest version and regenerate. I think this issue has been resolved.