Sauce has the ability to verify that a view is present in the datastore and that all the required columns are there prior to executing commands against it.

To set up your object just add the view Attribute to the class (note the table name parameter is optional

    public class vw
        public int ID { get; set; }
        public string BadColumn { get; set; }

If one or more columns are missing you will receive an exception message like so

If the view is missing you will receive an error like this one

Last edited May 30, 2013 at 3:11 AM by iamkrillin, version 4


No comments yet.