protected override void DataPortal_Insert()
{
using (var dalManager = DataFactoryManager.GetManager())
{
var dalFactory = dalManager.GetProvider<IOrganizationUserMemberDataFactory>();
var data = new OrganizationUserMemberData();
using (this.BypassPropertyChecks)
{
this.ModifiedBy = ((IBusinessIdentity)Csla.ApplicationContext.User.Identity).UserId;
this.ModifiedDate = DateTime.Now;
this.CreatedBy = this.ModifiedBy;
this.CreatedDate = this.ModifiedDate;
this.Insert(data);
data = dalFactory.Insert(data);
this.OrganizationUserMemberId = data.OrganizationUserMemberId;
}
// this.FieldManager.UpdateChildren(data);
}
}