ConcatAttribute class
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Concat expression attribute
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class ConcatAttribute : BaseExpressionAttribute
Public Members
name | description |
---|---|
ConcatAttribute(…) | Creates a new instance |
Expressions { get; } | Gets the expressions |
NullAsEmpty { get; set; } | When true (default), NULLS values are assumed to be empty. This is done using the COALESCE operator for dialects that is necessary. SQLServer Concat() returns empty string even when all the arguments are null. Oracle only returns null when all the arguments are null. |
override Translate(…) |
See Also
- class BaseExpressionAttribute
- Source: ConcatAttribute.cs