Пример #1
0
        public AzureTableSet(AzureTableBuilder ctx)
        {
            _TableName = typeof(T).Name;

            Table = ctx.TableClient.GetTableReference(_TableName);
            Table.CreateIfNotExistsAsync();
            TableClient = ctx.TableClient;
        }
Пример #2
0
 public static AzureTableBuilder MapAnyBusinessModelEntity(this AzureTableBuilder builder, SampleAzureTableContext context)
 {
     context.AnyBusinessModel = new AzureTableSet <AnyBusinessModelEntity>(builder);
     return(builder);
 }
Пример #3
0
 public static AzureTableBuilder MapProjectEntity(this AzureTableBuilder builder, SampleAzureTableContext context)
 {
     context.Project = new AzureTableSet <ProjectEntity>(builder);
     return(builder);
 }