<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QueryParameter.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Score.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 "ScoreTarget": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ScoreTarget")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "ScoreGuid": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ScoreGuid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "Score": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "Score")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "PushUp": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "PushUp")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "UserGuid": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "UserGuid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "CreateTime": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "CreateTime")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._DateTime)%> <%= 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; } %>