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; } }
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 }); }
partial void DeleteProblemClass(ProblemClass instance);
partial void UpdateProblemClass(ProblemClass instance);
partial void InsertProblemClass(ProblemClass instance);