This is an example piece of code that will load a SubSonic collection into the "col1" object. The collection class is told to look for the column "VendorId" in the products table and pull it based based on the matching supplied vendorId.
- ProductsCollection coll = new
- ProductsCollection().Where("VendorId", vendorId).Load();
You need to login to post a comment.