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