Exemple #1
0
 public static void Delete(int ID)
 {
     Functions.DeleteEnt(TableName, ID);
 }
Exemple #2
0
 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)));
 }
Exemple #3
0
 public static void Insert(SLIDER item)
 {
     Functions.InsertEntity(TableName, item);
 }
Exemple #4
0
 public static void Update(SLIDER item)
 {
     Functions.UpdateEntity(TableName, item);
 }
Exemple #5
0
 public static List <SLIDER> GetAll()
 {
     List <WHERE> where = new List <WHERE>();
     return(Functions.GetByPropertyValue(TableName, where).ConvertToList <SLIDER>());
 }