public override bool Remove(Tb_product_property t) { if (Repository.Remove <Model.Tb_product_property>() .Where().And(Model.Tb_product_property.Table.Property_Id, t.Property_Id) .EndWhere() .Save() < 1) { return(false); } return(true); }
public override bool Add(Tb_product_property t) { t.Property_Id = NewId(); return(Repository.Add(t)); }