Class QueryCommandsAttribute
- Namespace
- Rinku
- Assembly
- Rinku.dll
Places explicitly included SQL sources under a generated partial class.
[AttributeUsage(AttributeTargets.Class)]
public sealed class QueryCommandsAttribute : Attribute
- Inheritance
-
QueryCommandsAttribute
- Inherited Members
- Extension Methods
Constructors
QueryCommandsAttribute(string)
Places explicitly included SQL sources under a generated partial class.
public QueryCommandsAttribute(string path)
Parameters
pathstring
Properties
Path
Gets the source file or directory, relative to the project or absolute.
public string Path { get; }
Property Value
Pattern
Gets or sets a regular expression matched against relative SQL paths.
public string? Pattern { get; set; }
Property Value
Recursive
Gets or sets whether directory selection includes subdirectories.
public bool Recursive { get; set; }