Example #1
0
 public ChiefComplainCollection(Guid ChiefComplainGuid)
 {
     using (SqlDataReader dr = AppDAL.ChiefComplainSelect(ChiefComplainGuid))
     {
         LoadObjectsFromReader(dr);
     }
 }
Example #2
0
        protected override bool OpenRecord(Guid key)
        {
            bool r = false;

            using (SqlDataReader dr = AppDAL.ChiefComplainSelect(key))
                r = dr != null && dr.Read() && this.Populate(dr);
            return(r);
        }