예제 #1
0
 public static bool Save(SE_DecorativePattern model)
 {
     if (model.ID.ToString() == "00000000-0000-0000-0000-000000000000")
     {
         return(DALDecorativePattern.Add(model));
     }
     else
     {
         return(DALDecorativePattern.Update(model));
     }
 }
예제 #2
0
 public static DataTable GetTriePatten(string tire)
 {
     return(DALDecorativePattern.GetTirePatten(tire));
 }
예제 #3
0
 public static bool Delete(string id)
 {
     return(DALDecorativePattern.Delete(id));
 }
예제 #4
0
 public static IEnumerable <SE_DecorativePattern> GetList(string type, string name)
 {
     return(DALDecorativePattern.GetList(type, name));
 }
예제 #5
0
 public static IEnumerable <SE_DecorativePattern> GetList()
 {
     return(DALDecorativePattern.GetList());
 }
예제 #6
0
 public static SE_DecorativePattern GetEntity(string id)
 {
     return(DALDecorativePattern.GetEntity(id));
 }