This question is locked. New answers and comments are not allowed.
Hello,
I am using the Telerik Data Access Domain Model wizard to create a model from an exsting database (SQL Server).
My database contains several schemas, and I want to be able to generate the following structure, but I haven't managed to do so:
Say my C# project name is "MyProject.Data" (Class library)
Inside that project I create a new Telerik Data Access domain model.
I want the wizard to be able to generate the classes with the "MyProject.Data" namespace as prefix.
So say I have 3 namespaces inside my database that I wish to include tables from (dbo, Sales, Production), I want the dbo entities to go into the root namespace MyProject.Data. I want the sales entities go into MyProject.Data.Sales and I want the production entities to go into MyProject.Data.Production.
I tried to achieve that with checking "use different namespaces for schemas", but it only generate namespace names like "Sales" and "Production", and not with the "MyProject.Data" prefix.
Can this be achieved with the current version of Telerik DataAccess ? If not, is it something you could look into supporting in a future version ?
Thanks
I am using the Telerik Data Access Domain Model wizard to create a model from an exsting database (SQL Server).
My database contains several schemas, and I want to be able to generate the following structure, but I haven't managed to do so:
Say my C# project name is "MyProject.Data" (Class library)
Inside that project I create a new Telerik Data Access domain model.
I want the wizard to be able to generate the classes with the "MyProject.Data" namespace as prefix.
So say I have 3 namespaces inside my database that I wish to include tables from (dbo, Sales, Production), I want the dbo entities to go into the root namespace MyProject.Data. I want the sales entities go into MyProject.Data.Sales and I want the production entities to go into MyProject.Data.Production.
I tried to achieve that with checking "use different namespaces for schemas", but it only generate namespace names like "Sales" and "Production", and not with the "MyProject.Data" prefix.
Can this be achieved with the current version of Telerik DataAccess ? If not, is it something you could look into supporting in a future version ?
Thanks