Example #1
0
 public static void ToEntity(DT.AlgorithmClass source, DA.AlgorithmClass target)
 {
     if ((source != null) && (target != null))
     {
         target.Id = source.Id; target.Name = source.Name; target.Description = source.Description;
     }
 }
Example #2
0
 public static DT.AlgorithmClass ToDto(DA.AlgorithmClass source)
 {
     if (source == null)
     {
         return(null);
     }
     return(new DT.AlgorithmClass {
         Id = source.Id, Name = source.Name, Description = source.Description
     });
 }
Example #3
0
 partial void UpdateAlgorithmClass(AlgorithmClass instance);
Example #4
0
 partial void DeleteAlgorithmClass(AlgorithmClass instance);
Example #5
0
 partial void InsertAlgorithmClass(AlgorithmClass instance);