internal void SetDAL(Indico.DAL.UserMenuItemRoleView obj, IndicoEntities context) { // set the Indico.DAL.UserMenuItemRoleView properties obj.User = Convert.ToInt32(User); obj.Page = Convert.ToInt32(Page); obj.MenuItem = Convert.ToInt32(MenuItem); obj.MenuName = MenuName; obj.Parent = Convert.ToInt32(Parent); obj.Position = Convert.ToInt32(Position); obj.IsVisible = Convert.ToBoolean(IsVisible); obj.PageName = PageName; obj.Title = Title; obj.Heading = Heading; }
internal void SetBO(Indico.DAL.UserMenuItemRoleView obj) { // set the Indico.BusinessObjects.UserMenuItemRoleViewBO properties this.User = obj.User; this.Page = obj.Page; this.MenuItem = obj.MenuItem; this.MenuName = obj.MenuName; this.Parent = obj.Parent; this.Position = obj.Position; this.IsVisible = obj.IsVisible; this.PageName = obj.PageName; this.Title = obj.Title; this.Heading = obj.Heading; }
/// <summary> /// Creates an instance of the UserMenuItemRoleViewBO class using the supplied Indico.DAL.UserMenuItemRoleView. /// </summary> /// <param name="obj">a Indico.DAL.UserMenuItemRoleView whose properties will be used to initialise the UserMenuItemRoleViewBO</param> internal UserMenuItemRoleViewBO(Indico.DAL.UserMenuItemRoleView obj) { // set the properties from the Indico.DAL.UserMenuItemRoleView this.User = obj.User; this.Page = obj.Page; this.MenuItem = obj.MenuItem; this.MenuName = obj.MenuName; this.Parent = obj.Parent; this.Position = obj.Position; this.IsVisible = obj.IsVisible; this.PageName = obj.PageName; this.Title = obj.Title; this.Heading = obj.Heading; }