Method JsonTable
| Improve this Doc View SourceJsonTable<T>(String, String)
Opens JSON string as DbSet.
Declaration
public DbSet<T> JsonTable<T>(string json, string ordinalColumnName = null)
where T : class, IEntity, new()
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | json | The JSON string. |
| System.String | ordinalColumnName | The name of extra ordinal column. |
Returns
| Type | Description |
|---|---|
| DbSet<T> | The result DbSet. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of entity. |