//public static void Delete(Guid ID) //{ // Functions.DeleteItem(TableName, ID); //} public static string GetValueByCode(string code) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("CODE", "=", code, null)); return(Functions.ConvertToEntity <PARAMETER>(Functions.GetByPropertyValue(TableName, where)).VALUE); }
public static MAIL Get(int ID) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("ID", "=", ID, null)); return(Functions.ConvertToEntity <MAIL>(Functions.GetByPropertyValue(TableName, where))); }
public static BLOG GetTitle(string URLSEO) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("URLSEO", "=", URLSEO, null)); return(Functions.ConvertToEntity <BLOG>(Functions.GetByPropertyValue(TableName, where))); }
public static BLOG GetBySort(int sort) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("SORT", "=", sort, null)); return(Functions.ConvertToEntity <BLOG>(Functions.GetByPropertyValue(TableName, where))); }
public static MEMBER GetByID(Guid memberid) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("ID", "=", memberid, null)); return(Functions.ConvertToEntity <MEMBER>(Functions.GetByPropertyValue(TableName, where))); }
public static MEMBER GetByPasswordResetCode(string passwordcode) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("PASSWORDRESETCODE", "=", passwordcode, null)); return(Functions.ConvertToEntity <MEMBER>(Functions.GetByPropertyValue(TableName, where))); }
public static MEMBER GetByEmail(string email) { List <WHERE> where = new List <WHERE>(); where.Add(new WHERE("EMAIL", "=", email, null)); return(Functions.ConvertToEntity <MEMBER>(Functions.GetByPropertyValue(TableName, where))); }