Skip to main content

CustomUpdateAttribute

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

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

Properties

Sql

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

Implements

  • System.Runtime.InteropServices._Attribute