Exemplo n.º 1
0
 public int Update(TnfDirectLocationReference tnfDirectLocationReference)
 {
     return(Update(new object[]
     {
         tnfDirectLocationReference.PropertyOid,
         tnfDirectLocationReference.LocationReferenceType,
         tnfDirectLocationReference.LocationReference,
         tnfDirectLocationReference.SeqNo
     }));
 }
Exemplo n.º 2
0
 public void Add(TnfDirectLocationReference tnfDirectLocationReference)
 {
     Add(new object[]
     {
         tnfDirectLocationReference.PropertyOid,
         tnfDirectLocationReference.LocationReferenceType,
         tnfDirectLocationReference.LocationReference,
         tnfDirectLocationReference.SeqNo
     });
 }
Exemplo n.º 3
0
        private static TnfDirectLocationReference ReadObject(IDataRecord reader)
        {
            var tnfDirectLocationReference = new TnfDirectLocationReference();

            tnfDirectLocationReference.PropertyOid           = reader["property_oid"].ToString();
            tnfDirectLocationReference.LocationReferenceType = reader["location_reference_type"].ToString();
            tnfDirectLocationReference.LocationReference     = reader["location_reference"].ToString();
            tnfDirectLocationReference.SeqNo = reader["seq_no"].ToInt32();

            return(tnfDirectLocationReference);
        }