initial commit
This commit is contained in:
13
Extensions/Dataannotations/DefaultValueSqlAttribute.cs
Normal file
13
Extensions/Dataannotations/DefaultValueSqlAttribute.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Extensions.Dataannotations
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Property)]
|
||||
public class DefaultValueSqlAttribute : Attribute
|
||||
{
|
||||
public string DefaultValueSql { get; private set; } = "";
|
||||
|
||||
public DefaultValueSqlAttribute(string defaultValueSql)
|
||||
{
|
||||
DefaultValueSql = defaultValueSql;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user