Example #1
0
 public int Update(TnfDirectLocationReference tnfDirectLocationReference)
 {
     return(Update(new object[]
     {
         tnfDirectLocationReference.PropertyOid,
         tnfDirectLocationReference.LocationReferenceType,
         tnfDirectLocationReference.LocationReference,
         tnfDirectLocationReference.SeqNo
     }));
 }
Example #2
0
 public void Add(TnfDirectLocationReference tnfDirectLocationReference)
 {
     Add(new object[]
     {
         tnfDirectLocationReference.PropertyOid,
         tnfDirectLocationReference.LocationReferenceType,
         tnfDirectLocationReference.LocationReference,
         tnfDirectLocationReference.SeqNo
     });
 }
Example #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);
        }