private void AssignDataObjectToEntity(tbl_SiteMap dbRole, ref ServicesLibrary.Entities.SiteMap entSiteMap) { entSiteMap.IdSiteMap = dbRole.IdSiteMap; entSiteMap.Name = dbRole.Name; entSiteMap.Description = dbRole.Description; entSiteMap.RoleCode = dbRole.RoleCode; entSiteMap.URL = dbRole.URL; entSiteMap.EntStatus = new Status(){IdStatus= dbRole.tbl_Status.IdStatus,Name =dbRole.tbl_Status.Name}; entSiteMap.IsBrowsable = dbRole.IsBrowsable; entSiteMap.IdParent = dbRole.IdParent; }
partial void Deletetbl_SiteMap(tbl_SiteMap instance);
partial void Updatetbl_SiteMap(tbl_SiteMap instance);
partial void Inserttbl_SiteMap(tbl_SiteMap instance);
private void detach_tbl_SiteMap(tbl_SiteMap entity) { this.SendPropertyChanging(); entity.tbl_Status = null; }