No 'findby' method in strongly typed dataset
From: Andrew (Andrew.L.Stephen_at_gmail.com)
Date: 03/16/05
- Next message: Pablo Castro [MS]: "Re: Concurrent Connections / Shared Transaction"
- Previous message: Pablo Castro [MS]: "Re: ADO.NET 2.0 Question"
- Next in thread: Scott M.: "Re: No 'findby' method in strongly typed dataset"
- Reply: Scott M.: "Re: No 'findby' method in strongly typed dataset"
- Messages sorted by: [ date ] [ thread ]
Date: 16 Mar 2005 14:39:39 -0800
Hi - I've read several posts around this subject but not found one that
solved my problem. I have created an XSD in my VB.NET project using
drag and drop. I've created a primary key on one table - the underlying
xsd confirms that the msdata:PrimaryKey attribute of this xs:key
element is "true".
However when I generate my vb.net strongly typed dataset class, there
is no 'findby' method when the documentation and other posts here
suggest there should be.
I've tried adding the attribute msdata:unique="true" to the key
element, and also tried changeing the element name from xs:key to
xs:unique - still no 'findby' method.
Any ideas gratefully recieved .... thanks
Andrew Stephen
- Next message: Pablo Castro [MS]: "Re: Concurrent Connections / Shared Transaction"
- Previous message: Pablo Castro [MS]: "Re: ADO.NET 2.0 Question"
- Next in thread: Scott M.: "Re: No 'findby' method in strongly typed dataset"
- Reply: Scott M.: "Re: No 'findby' method in strongly typed dataset"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|