Hi,
I have a custom linq2sql generator using a bastardized version of this: http://l2st4.codeplex.com/ which seperates the table/function classes into seperate folders and namespaces based on
the owninig schema in the database. So I end up with declarations similar to this in my datacontext class..
public Table<Club.Clubs> Club_Clubs....
and
public Table<My.Clubs> My_Clubs....
I'm also following this..http://msdn.microsoft.com/en-us/library/ee373841.aspx to expose the linq2sql as odata...
I'm getting this error from the Provider..
More than one resource type with the name 'Clubs' was found. Resource type names must be unique.
System.Data.Services.Providers.DataServiceProviderWrapper.AddUniqueNameToSet(String name, HashSet`1 names, String exceptionString)
System.Data.Services.Providers.DataServiceProviderWrapper.<get_Types>d__9.MoveNext()
System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
System.Data.Services.Providers.DataServiceProviderWrapper.PopulateMetadataCacheItemForV1Provider()
System.Data.Services.DataService`1.CreateProvider()
It's pretty obvious why, but am I deluding myself thinking that it will be fairly easy to fix with a custom Metadata/Query provider by providing a fully qualified typename as opposed to the just the class name in the custom provider?
Thanks,
Oli