public void CopyPropertiesFrom(dboCounty other, bool withID) { if (withID) { this.idcounty = other.idcounty; } var x = ""; this.idRegion = other.idRegion; this.namecounty = other.namecounty; this.shortnamecounty = other.shortnamecounty; OnCopyConstructor(other, withID); }
partial void OnCopyConstructor(dboCounty other, bool withID);
public dboCounty(dboCounty other) : base() { OnCopyConstructor(other: other, withID: false); }