<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QueryParameter.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.STUser.QueryParameter" %> <% switch (this.Key) { 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 "_Subject._User._Domain.Name": %> <%= new HtmlHidden("$TableAlias","_Subject._User._Domain")%> <%= new HtmlHidden("$Field", "Name")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_Subject._User._Domain.Code": %> <%= new HtmlHidden("$TableAlias","_Subject._User._Domain")%> <%= new HtmlHidden("$Field", "Code")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_Subject._User._UserType.Name": %> <%= new HtmlHidden("$TableAlias","_Subject._User._UserType")%> <%= new HtmlHidden("$Field", "Name")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_Subject._User.UserName": %> <%= new HtmlHidden("$TableAlias","_Subject._User")%> <%= new HtmlHidden("$Field", "UserName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_Subject._User.TrueName": %> <%= new HtmlHidden("$TableAlias","_Subject._User")%> <%= new HtmlHidden("$Field", "TrueName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_Subject.Name": %> <%= new HtmlHidden("$TableAlias","_Subject")%> <%= new HtmlHidden("$Field", "Name")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_User._Domain.Name": %> <%= new HtmlHidden("$TableAlias","_User._Domain")%> <%= new HtmlHidden("$Field", "Name")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_User._Domain.Code": %> <%= new HtmlHidden("$TableAlias","_User._Domain")%> <%= new HtmlHidden("$Field", "Code")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_User._UserType.Name": %> <%= new HtmlHidden("$TableAlias","_User._UserType")%> <%= new HtmlHidden("$Field", "Name")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_User.TrueName": %> <%= new HtmlHidden("$TableAlias","_User")%> <%= new HtmlHidden("$Field", "TrueName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "_User.UserName": %> <%= new HtmlHidden("$TableAlias","_User")%> <%= new HtmlHidden("$Field", "UserName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "HasComment": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "HasComment")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "HasST": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "HasST")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "HasScore": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "HasScore")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= 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; } %>