コード例 #1
0
        public override async Task <ArrayBase> CreateArray(long handle, string tableName, string fieldName, AsyncWrappingCommonArgs async)
        {
            var array = new GdsArray(_database, _transaction, handle, tableName, fieldName);
            await array.Initialize(async).ConfigureAwait(false);

            return(array);
        }
コード例 #2
0
        public override Task <ArrayBase> CreateArray(ArrayDesc descriptor, AsyncWrappingCommonArgs async)
        {
            var array = new GdsArray(descriptor);

            return(Task.FromResult((ArrayBase)array));
        }