public AzureTableSet(AzureTableBuilder ctx) { _TableName = typeof(T).Name; Table = ctx.TableClient.GetTableReference(_TableName); Table.CreateIfNotExistsAsync(); TableClient = ctx.TableClient; }
public static AzureTableBuilder MapAnyBusinessModelEntity(this AzureTableBuilder builder, SampleAzureTableContext context) { context.AnyBusinessModel = new AzureTableSet <AnyBusinessModelEntity>(builder); return(builder); }
public static AzureTableBuilder MapProjectEntity(this AzureTableBuilder builder, SampleAzureTableContext context) { context.Project = new AzureTableSet <ProjectEntity>(builder); return(builder); }