public SqlPropertyConfigurationBuilder(ISqlPropertyConfiguration propertyConfiguration) : base(propertyConfiguration) { }
private Expression <Func <object, IDatabaseCommandParameter> > GetSqlParameter(ISqlPropertyConfiguration config, string paramName, bool isNullable = true) { return((value) => _sqlClassProvider.CreateDatabaseCommandParameter(paramName, value, config.SqlDbType.Value, isNullable)); }
protected override IPropertyConfigurationBuilder <TProperty, ISqlPropertyConfiguration> CreatePropertyConfigurationBuilder <TProperty>( ISqlPropertyConfiguration propertyConfiguration) { return(new SqlPropertyConfigurationBuilder <TResource, TProperty>(propertyConfiguration)); }
public Func <object, IDatabaseCommandParameter> GetPrimaryKeySqlParameter(ISqlPropertyConfiguration primaryIdentifierConfig) { return(GetSqlParameter(primaryIdentifierConfig, _sqlParamaterProvider.GetPrimaryKeyParameterName(), false).Compile()); }