public void SetDialogueIfNeeded <TEntity>(UnitOfWork.SqlDialect sqlDialect) where TEntity : class { SetDialogueIfNeeded <TEntity>(EnumHelper.ConvertEnumToEnum <SqlDialect>(sqlDialect)); }
public IFormattable Table <TEntity>(UnitOfWork.SqlDialect sqlDialect, EntityMapping entityMappingOverride = null) where TEntity : class { return(Table <TEntity>(EnumHelper.ConvertEnumToEnum <SqlDialect>(sqlDialect), entityMappingOverride)); }
public IFormattable TableAndColumn <TEntity>(IoC.UnitOfWork.SqlDialect sqlDialect, string propertyName, EntityMapping entityMappingOverride = null) where TEntity : class { return(TableAndColumn <TEntity>(EnumHelper.ConvertEnumToEnum <SqlDialect>(sqlDialect), propertyName, entityMappingOverride)); }
public void ConvertEnumToEnum_Converts_FromEnum() { var actual = EnumHelper.ConvertEnumToEnum <SqlDialect>(IoC.UnitOfWork.SqlDialect.PostgreSql); actual.Should().Be(SqlDialect.PostgreSql); }