예제 #1
0
        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);
        }
예제 #2
0
 public void Add(TnfTaskEditableType tnfTaskEditableType)
 {
     Add(new object[]
     {
         tnfTaskEditableType.TaskOid,
         tnfTaskEditableType.CatalogueOid,
         tnfTaskEditableType.PropertyObjectTypeOid
     });
 }
예제 #3
0
 public int Update(TnfTaskEditableType tnfTaskEditableType)
 {
     return(Update(new object[]
     {
         tnfTaskEditableType.TaskOid,
         tnfTaskEditableType.CatalogueOid,
         tnfTaskEditableType.PropertyObjectTypeOid
     }));
 }