public async Task ValidateMappingsAgainstDatabaseAsync(IDatabaseSessionAsync session) { foreach (var currentMapping in this._mappings) { await currentMapping.Value.ValidateAgainstDatabase(session, this._converter); } }
public override async Task ValidateAgainstDatabase(IDatabaseSessionAsync session, ITypeToColumnTypeConverter converter) { this.ValidateAgainstTableMetaData(await session.GetTableMetaDataAsync(this.TableName), converter); }
public static IDatabaseSessionAsync WithTransaction(this IDatabaseSessionAsync session) { session.AddTransaction(); return(session); }
public abstract Task ValidateAgainstDatabase(IDatabaseSessionAsync session, ITypeToColumnTypeConverter converter);