<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QueryParameter.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Config.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 "_Domain.Name": %> <%= new HtmlHidden("$TableAlias","_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 "_Domain.Code": %> <%= new HtmlHidden("$TableAlias","_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 "ApplicationAutoDeal": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ApplicationAutoDeal")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "ApplicationAutoConfirm": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ApplicationAutoConfirm")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "UserMaxSpace": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "UserMaxSpace")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "UserMaxApplicationCount": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "UserMaxApplicationCount")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "AutoDowloadHour": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "AutoDowloadHour")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "ApplyDays": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ApplyDays")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "AfterApplyDays": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "AfterApplyDays")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "ProcurementLeadTime": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "ProcurementLeadTime")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "VideoLessminute": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "VideoLessminute")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "WeikeShow": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "WeikeShow")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "AutoPushVideo": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "AutoPushVideo")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._bool)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$IgnoreEmpty", "0")%> <% break; case "FilterAlbumAndChannel": %> <%= new HtmlHidden("$TableAlias","_Alias")%> <%= new HtmlHidden("$Field", "FilterAlbumAndChannel")%> <%= 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; } %>