Esempio n. 1
0
 public static DT.Country ToDto(DA.Country source)
 {
     if (source == null)
     {
         return(null);
     }
     else
     {
         return(new DT.Country()
         {
             Id = source.Id,
             Name = source.Name
         });
     }
 }
 partial void UpdateCountry(Country instance);
 partial void DeleteCountry(Country instance);
 partial void InsertCountry(Country instance);