public CustomerdemographicCollection FetchAll()
 {
     CustomerdemographicCollection coll = new CustomerdemographicCollection();
     Query qry = new Query(Customerdemographic.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
 public CustomerdemographicCollection FetchByQuery(Query qry)
 {
     CustomerdemographicCollection coll = new CustomerdemographicCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
 public CustomerdemographicCollection FetchByID(object CustomerTypeID)
 {
     CustomerdemographicCollection coll = new CustomerdemographicCollection().Where("CustomerTypeID", CustomerTypeID).Load();
     return coll;
 }