Example #1
0
 public static void ToEntity(DT.ProblemClass source, DA.ProblemClass target)
 {
     if ((source != null) && (target != null))
     {
         target.Id = source.Id; target.Name = source.Name; target.Description = source.Description;
     }
 }
Example #2
0
 public static DT.ProblemClass ToDto(DA.ProblemClass source)
 {
     if (source == null)
     {
         return(null);
     }
     return(new DT.ProblemClass {
         Id = source.Id, Name = source.Name, Description = source.Description
     });
 }
 private static DT.ProblemClass ToDto(DA.ProblemClass source)
 {
     if (source == null)
     {
         return(null);
     }
     return(new DT.ProblemClass {
         Name = source.Name, Description = source.Description
     });
 }
Example #4
0
 partial void DeleteProblemClass(ProblemClass instance);
Example #5
0
 partial void UpdateProblemClass(ProblemClass instance);
Example #6
0
 partial void InsertProblemClass(ProblemClass instance);