public static void Delete(int ID) { Functions.DeleteEnt(TableName, ID); }
public static SLIDER GetBySort(int sort) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("SORT", "=", sort, null)); return(Functions.ConvertToEntity <SLIDER>(Functions.GetByPropertyValue(TableName, where))); }
public static void Insert(SLIDER item) { Functions.InsertEntity(TableName, item); }
public static void Update(SLIDER item) { Functions.UpdateEntity(TableName, item); }
public static List <SLIDER> GetAll() { List <WHERE> where = new List <WHERE>(); return(Functions.GetByPropertyValue(TableName, where).ConvertToList <SLIDER>()); }