public void Insert(string FilterCaption, string FieldName, string FieldSource, string ColumnType, string CriteriaString, string AppliesToDeprecated, string AppliesTo, bool?IsActive, bool?IsQuickFilter, bool?LoginRequired, int?SortOrder, string CreatedBy, DateTime?CreatedOn, byte[] MsTimestamp) { DbFilterField item = new DbFilterField(); item.FilterCaption = FilterCaption; item.FieldName = FieldName; item.FieldSource = FieldSource; item.ColumnType = ColumnType; item.CriteriaString = CriteriaString; item.AppliesToDeprecated = AppliesToDeprecated; item.AppliesTo = AppliesTo; item.IsActive = IsActive; item.IsQuickFilter = IsQuickFilter; item.LoginRequired = LoginRequired; item.SortOrder = SortOrder; item.CreatedBy = CreatedBy; item.CreatedOn = CreatedOn; item.MsTimestamp = MsTimestamp; item.Save(UserName); }
public bool Destroy(object FilterFieldId) { return(DbFilterField.Destroy(FilterFieldId) == 1); }
public bool Delete(object FilterFieldId) { return(DbFilterField.Delete(FilterFieldId) == 1); }