public static void ToEntity(DT.TaskData source, DB.TaskData target) { if ((source != null) && (target != null)) { target.TaskId = source.TaskId; target.Data = source.Data; target.LastUpdate = source.LastUpdate; } }
public static void CopyToEntity(this DT.TaskData source, DA.TaskData target) { if ((source == null) || (target == null)) { return; } target.TaskId = source.TaskId; target.Data = source.Data; target.LastUpdate = source.LastUpdate; }
public static DB.TaskData ToEntity(DT.TaskData source) { if (source == null) { return(null); } var entity = new DB.TaskData(); ToEntity(source, entity); return(entity); }
public static DT.TaskData ToDto(DB.TaskData source) { if (source == null) { return(null); } return(new DT.TaskData { TaskId = source.TaskId, Data = source.Data, LastUpdate = source.LastUpdate }); }
public static DA.TaskData ToEntity(this DT.TaskData source) { if (source == null) { return(null); } var result = new DA.TaskData(); source.CopyToEntity(result); return(result); }
public static DB.TaskData ToEntity(DT.TaskData source) { if (source == null) return null; var entity = new DB.TaskData(); ToEntity(source, entity); return entity; }
public static DA.TaskData ToEntity(this DT.TaskData source) { if (source == null) return null; var result = new DA.TaskData(); source.CopyToEntity(result); return result; }
partial void DeleteTaskData(TaskData instance);
partial void UpdateTaskData(TaskData instance);
partial void InsertTaskData(TaskData instance);