Ejemplo n.º 1
0
 public static void CopyToEntity(this DT.Plugin source, DA.Plugin target)
 {
     if ((source == null) || (target == null))
     {
         return;
     }
     target.PluginId    = source.Id;
     target.Name        = source.Name;
     target.Version     = source.Version.ToString();
     target.UserId      = source.UserId;
     target.DateCreated = source.DateCreated;
     target.Hash        = source.Hash;
 }