public int Update(TnfPropertyObject tnfPropertyObject) { return(Update(new object[] { tnfPropertyObject.Oid, tnfPropertyObject.CatalogueOid, tnfPropertyObject.PropertyObjectTypeOid, tnfPropertyObject.Vid })); }
public void Add(TnfPropertyObject tnfPropertyObject) { Add(new object[] { tnfPropertyObject.Oid, tnfPropertyObject.CatalogueOid, tnfPropertyObject.PropertyObjectTypeOid, tnfPropertyObject.Vid }); }
private static TnfPropertyObject ReadPropertyObject(IDataRecord reader) { var tnfPropertyObject = new TnfPropertyObject(); tnfPropertyObject.Oid = reader["oid"].FromDbString(); tnfPropertyObject.CatalogueOid = reader["catalogue_oid"].ToInt(); tnfPropertyObject.PropertyObjectTypeOid = reader["property_object_type_oid"].ToInt(); tnfPropertyObject.Vid = reader["vid"].FromDbString(); return(tnfPropertyObject); }