private static TnfTaskEditableType ReadObject(IDataReader reader) { TnfTaskEditableType tnfTaskEditableType = new TnfTaskEditableType(); tnfTaskEditableType.TaskOid = reader["task_oid"].FromDbString(); tnfTaskEditableType.CatalogueOid = reader["catalogue_oid"].FromDbString(); tnfTaskEditableType.PropertyObjectTypeOid = reader["property_object_type_oid"].FromDbString(); return(tnfTaskEditableType); }
public void Add(TnfTaskEditableType tnfTaskEditableType) { Add(new object[] { tnfTaskEditableType.TaskOid, tnfTaskEditableType.CatalogueOid, tnfTaskEditableType.PropertyObjectTypeOid }); }
public int Update(TnfTaskEditableType tnfTaskEditableType) { return(Update(new object[] { tnfTaskEditableType.TaskOid, tnfTaskEditableType.CatalogueOid, tnfTaskEditableType.PropertyObjectTypeOid })); }