public void RemoveApplicationsRow(ApplicationsRow row) { this.Rows.Remove(row); }
public ApplicationsRowChangeEvent(ApplicationsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddApplicationsRow(ApplicationsRow row) { this.Rows.Add(row); }
public ApplicationRolesRow AddApplicationRolesRow(ApplicationsRow parentApplicationsRowByFK_ApplicationRoles_Roles, string ApplicationCode, string ApplicationName, RolesRow parentRolesRowByFK_ApplicationRoles_Applications, string RoleCode, string RoleName, bool AllowCreate, bool AllowRead, bool AllowUpdate, bool AllowDelete) { ApplicationRolesRow rowApplicationRolesRow = ((ApplicationRolesRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, ApplicationCode, ApplicationName, null, RoleCode, RoleName, AllowCreate, AllowRead, AllowUpdate, AllowDelete}; if ((parentApplicationsRowByFK_ApplicationRoles_Roles != null)) { columnValuesArray[0] = parentApplicationsRowByFK_ApplicationRoles_Roles[0]; } if ((parentRolesRowByFK_ApplicationRoles_Applications != null)) { columnValuesArray[3] = parentRolesRowByFK_ApplicationRoles_Applications[0]; } rowApplicationRolesRow.ItemArray = columnValuesArray; this.Rows.Add(rowApplicationRolesRow); return rowApplicationRolesRow; }