• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

loresoft / FluentCommand / 6648415992

26 Oct 2023 01:49AM UTC coverage: 51.645% (+0.1%) from 51.515%
6648415992

push

github

pwelter34
Update InsertBuilder.cs

981 of 2442 branches covered (0.0%)

Branch coverage included in aggregate %.

2896 of 5065 relevant lines covered (57.18%)

156.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/FluentCommand/DataFieldConverterAttribute.cs
1
namespace FluentCommand;
2

3
/// <summary>
4
/// Attribute to enable source generation of data reader factory
5
/// </summary>
6
/// <seealso cref="System.Attribute" />
7
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
8
public class DataFieldConverterAttribute : Attribute
9
{
10
    /// <summary>
11
    /// Initializes a new instance of the <see cref="DataFieldConverterAttribute"/> class.
12
    /// </summary>
13
    /// <param name="converterType">Type of the converter.</param>
14
    public DataFieldConverterAttribute(Type converterType)
×
15
    {
16
        ConverterType = converterType;
17
    }
×
18

19
    /// <summary>
20
    /// Gets the type of the converter.
21
    /// </summary>
22
    /// <value>
23
    /// The type of the converter.
24
    /// </value>
25
    public Type ConverterType { get; }
26
}
27

28
#if NET7_0_OR_GREATER
29
/// <summary>
30
/// Attribute to enable source generation of data reader factory
31
/// </summary>
32
/// <typeparam name="TConverter">
33
/// The type of the converter
34
/// </typeparam>
35
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
36
public class DataFieldConverterAttribute<TConverter> : DataFieldConverterAttribute
37
{
38
    /// <summary>
39
    /// Initializes a new instance of the <see cref="DataFieldConverterAttribute"/> class.
40
    /// </summary>
41
    public DataFieldConverterAttribute() : base(typeof(TConverter))
×
42
    {
43
    }
×
44
}
45
#endif
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc