I have a business object set up for a SQL table PreCert. I created a variable oPreCert which is defined as a PreCert object. When I try to register the object with the form:
this.oPreCert = (PreCert)this.RegisterPrimaryBizObj(new PreCert());
I get the following error:
Error 1 The best overloaded method match for 'OakLeaf.MM.Main.Windows.Forms.mmBusinessBaseForm.RegisterPrimaryBizObj(OakLeaf.MM.Main.Business.mmBaseBusinessObject)' has some invalid arguments C:\deve\LCCTrack\LCC Track CSharp\PreCert.cs 31 38 LCC Track CSharp
It is set up just like all my other objects being registered except that it is the primary object. I still get this error if I switch to RegisterBizObj.
Any ideas as to what could be causing this problem?
Thanks.
Linda
UPDATE
PreCert must be a reserved word. When I changed the name of the business object to PreCertif, everything worked fine.
Linda Harmes
HiBit Technologies, Inc.