Ejemplo n.º 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;
     }
 }
Ejemplo n.º 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
     });
 }
Ejemplo n.º 3
0
 partial void UpdateAlgorithmClass(AlgorithmClass instance);
Ejemplo n.º 4
0
 partial void DeleteAlgorithmClass(AlgorithmClass instance);
Ejemplo n.º 5
0
 partial void InsertAlgorithmClass(AlgorithmClass instance);