public void Insert(string OptionName, string FieldName, int?SearchTypeID, string Description) { DDSearchOption item = new DDSearchOption(); item.OptionName = OptionName; item.FieldName = FieldName; item.SearchTypeID = SearchTypeID; item.Description = Description; item.Save(UserName); }
public void Update(int OptionID, string OptionName, string FieldName, int?SearchTypeID, string Description) { DDSearchOption item = new DDSearchOption(); item.MarkOld(); item.IsLoaded = true; item.OptionID = OptionID; item.OptionName = OptionName; item.FieldName = FieldName; item.SearchTypeID = SearchTypeID; item.Description = Description; item.Save(UserName); }
public bool Destroy(object OptionID) { return(DDSearchOption.Destroy(OptionID) == 1); }
public bool Delete(object OptionID) { return(DDSearchOption.Delete(OptionID) == 1); }