Hello, Fred
In addition to what Darren said you can set this.DatabaseKey in the constructor of your ABusinessObject (in Business.cs) and all your objects will inherit the value by default (you can override where needed for those objects that use a different database)
Hope that helps,
---J
>Hi Guys,
>I keep on getting this error
>" A database key must be specified "
>
>this is the code
>
>this.GetDataSet("SELECT * FROM Country WHERE ID = @CountryID",this.CreateParameter("@CountryID", CountryID));
>