We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f56056 commit f0e61a7Copy full SHA for f0e61a7
Dapper/ExplicitConstructorAttribute.cs
@@ -5,7 +5,10 @@ namespace Dapper
5
/// <summary>
6
/// Tell Dapper to use an explicit constructor, passing nulls or 0s for all parameters
7
/// </summary>
8
- [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false)]
+ /// <remarks>
9
+ /// Usage on methods is limited to the usage with Dapper.AOT (https://github.com/DapperLib/DapperAOT)
10
+ /// </remarks>
11
+ [AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = false)]
12
public sealed class ExplicitConstructorAttribute : Attribute
13
{
14
}
0 commit comments