public override bool Equals(object obj) { if (obj == null) { return(false); } CategoryEN t = obj as CategoryEN; if (t == null) { return(false); } if (CategoryId.Equals(t.CategoryId)) { return(true); } else { return(false); } }
public CategoryEN(CategoryEN category) { this.init(CategoryId, category.Product, category.Name, category.Descripcion, category.ParentCategory, category.SubCategory); }