示例#1
0
 public Region(string id, string regionname, DateTime dateentered, DateTime datemodified, Country c, string createdbyuserid, string modifiedbyuserid)
 {
     this.RegionId         = new Guid(id);
     this.RegionName       = regionname;
     this.DateEntered      = dateentered;
     this.DateModified     = datemodified;
     this.CreatedByUserId  = new Guid(createdbyuserid);
     this.ModifiedByUserId = new Guid(modifiedbyuserid);
     this.Country          = c;
     this.CountryId        = this.Country.CountryId;
 }
示例#2
0
 public Region(string id, string regioname, DateTime dateentered, DateTime datemodified, Country c)
 {
     this.RegionId     = new Guid(id);
     this.RegionName   = regioname;
     this.DateEntered  = dateentered;
     this.DateModified = datemodified;
     this.Country      = c;
     this.CountryId    = this.Country.CountryId;
 }