Skip to main content

CustomInsertAttribute

Populate INSERT parameter with Custom SQL expression, e.g. [CustomInsert("crypt({0}, gen_salt('bf'))")]

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
[AttributeUsage(AttributeTargets.Property)]
public class CustomInsertAttribute : AttributeBase, _Attribute

Properties​

Sql​

View Source​
Declaration
public string Sql { get; set; }

Implements​

  • System.Runtime.InteropServices._Attribute