예제 #1
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 protected MySqlStringTypeMapping(RelationalTypeMappingParameters parameters, IMySqlOptions options)
     : base(parameters)
 {
     _maxSpecificSize = CalculateSize(parameters.Unicode, parameters.Size);
     _options         = options;
 }
 protected OracleDoubleTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
예제 #3
0
 /// <summary>
 ///     Creates a copy of this mapping.
 /// </summary>
 /// <param name="parameters"> The parameters for this mapping. </param>
 /// <returns> The newly created mapping. </returns>
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new SqlServerShortTypeMapping(parameters);
예제 #4
0
 protected TimestampLocalDateTimeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters, NpgsqlDbType.Timestamp)
 {
 }
예제 #5
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 protected SqlServerOffsetDateTimeRelationalTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
예제 #6
0
 protected TimeTzMapping(RelationalTypeMappingParameters parameters)
     : base(parameters, NpgsqlDbType.TimeTz)
 {
 }
예제 #7
0
 protected IntervalMapping(RelationalTypeMappingParameters parameters)
     : base(parameters, NpgsqlDbType.Interval)
 {
 }
예제 #8
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="UIntTypeMapping" /> class.
 /// </summary>
 /// <param name="parameters"> Parameter object for <see cref="RelationalTypeMapping" />. </param>
 protected UIntTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new JetDoubleTypeMapping(parameters);
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => this;
 private FakeTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
예제 #12
0
 /// <summary>
 ///     Creates a copy of this mapping.
 /// </summary>
 /// <param name="parameters">The parameters for this mapping.</param>
 /// <returns>The newly created mapping.</returns>
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new SqliteDecimalTypeMapping(parameters);
예제 #13
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 protected SqliteDecimalTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
예제 #14
0
 /// <summary>
 ///     Creates a copy of this mapping.
 /// </summary>
 /// <param name="parameters"> The parameters for this mapping. </param>
 /// <returns> The newly created mapping. </returns>
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new MySqlStringTypeMapping(parameters, _options);
예제 #15
0
 protected TimestampInstantMapping(RelationalTypeMappingParameters parameters)
     : base(parameters, NpgsqlDbType.Timestamp)
 {
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="DateTimeTypeMapping" /> class.
 /// </summary>
 /// <param name="parameters"> Parameter object for <see cref="RelationalTypeMapping" />. </param>
 protected DateTimeTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
예제 #17
0
 protected DateMapping(RelationalTypeMappingParameters parameters)
     : base(parameters, NpgsqlDbType.Date)
 {
 }
 protected NpgsqlRegconfigTypeMapping(RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType)
     : base(parameters, npgsqlDbType)
 {
 }
예제 #19
0
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new TimeTzMapping(parameters);
예제 #20
0
 protected MySQLBinaryTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
예제 #21
0
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new IntervalMapping(parameters);
예제 #22
0
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new MySQLBinaryTypeMapping(parameters);
예제 #23
0
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new TimestampLocalDateTimeMapping(Parameters);
예제 #24
0
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new TimestampTzInstantMapping(parameters);
예제 #25
0
 /// <summary>
 ///     Creates a copy of this mapping.
 /// </summary>
 /// <param name="parameters"> The parameters for this mapping. </param>
 /// <returns> The newly created mapping. </returns>
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new SqlServerOffsetDateTimeRelationalTypeMapping(parameters);
예제 #26
0
 protected TimestampTzOffsetDateTimeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters, NpgsqlDbType.TimestampTz)
 {
 }
예제 #27
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 protected SqlServerShortTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
예제 #28
0
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new TimestampTzOffsetDateTimeMapping(parameters);
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 protected SqlServerByteArrayTypeMapping(RelationalTypeMappingParameters parameters)
     : base(parameters)
 {
 }
 /// <summary>
 ///     Creates a copy of this mapping.
 /// </summary>
 /// <param name="parameters"> The parameters for this mapping. </param>
 /// <returns> The newly created mapping. </returns>
 protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
 => new MySqlJsonTypeMapping(parameters);