コード例 #1
0
 public FarmerEntityDto(FarmerEntity model)
 {
     Id                   = model.Id;
     Created              = model.Created;
     Modified             = model.Modified;
     TradingPostListingss = model.TradingPostListingss;
     Farmss               = model.Farmss;
 }
コード例 #2
0
        public static ServersideFarmerEntity Convert(FarmerEntity model)
        {
            var dto = new FarmerEntityDto(model);

            return(dto.GetServersideFarmerEntity());
        }