SQLinq support for Database Schema

Oct 1, 2012 at 2:01 PM

Hi,

I see SQLinqTable Attribute for Entities, is there any Attribute for Database Schemas or any alternative.

Thank You, 

Oct 3, 2012 at 1:39 PM

Well i solve this problem with workaround ;

[SQLinqTable("Pandora].[Category")]
    public class Category
    {

}

 

Do not add first [ and last ], it will be added by SqLinq.

Coordinator
Apr 27, 2013 at 6:06 PM
I just published a Beta version of v3 to Nuget (under 3.0.1-b1) that will take the following table names and use them as naturally expected.
[SQLinqTable("Category")]
[SQLinqTable("[Category]")]
[SQLinqTable("[Pandora].[Category]")]

It also supports the legacy:
[SQLinqTable("Pandora].[Category")]

https://nuget.org/packages/SQLinq