Exemple #1
0
                    public Task SetValueAsync(object value, CancellationToken cancellationToken)
                    {
                        // this is where any queued up storage operations can be flushed
                        CustomTableBinding <TElement> tableBinding = value as CustomTableBinding <TElement>;

                        return(tableBinding.FlushAsync(cancellationToken));
                    }
            public static void Run([Table(TableName)] CustomTableBinding <Poco> table)
            {
                Poco entity = new Poco();

                table.Add(entity);
                table.Delete(entity);
            }
Exemple #3
0
            public static void Run([QueueTrigger(TriggerQueueName)] CloudQueueMessage ignore,
                                   [Table(TableName)] CustomTableBinding <Poco> table)
            {
                Poco entity = new Poco();

                table.Add(entity);
                table.Delete(entity);
            }