public void CopyPropertiesFrom(dboCategory other, bool withID) { if (withID) { this.idcategory = other.idcategory; } var x = ""; this.namecategory = other.namecategory; this.shortnamecategory = other.shortnamecategory; OnCopyConstructor(other, withID); }
partial void OnCopyConstructor(dboCategory other, bool withID);
public dboCategory(dboCategory other) : base() { OnCopyConstructor(other: other, withID: false); }