<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QueryParameter.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Sys.Datalog.QueryParameter" %> <% switch (this.Key) { case "Entity": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "Entity")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "PKId": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "PKId")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "Version": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "Version")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "Source": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "Source")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "Operator": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "Operator")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "ParentGuid": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ParentGuid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "ParentName": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ParentName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "OperatorGuid": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "OperatorGuid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "OperatorName": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "OperatorName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "OperatorTime": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "OperatorTime")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._DateTime)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "Url": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "Url")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "UrlReferrer": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "UrlReferrer")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; default: %> <%= new HtmlHidden("$TableAlias","")%> <%= new HtmlHidden("$Field", "")%> <%= new HtmlHidden("$FieldType", "")%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; } %>