Class Filter
Inheritance
System.Object
Filter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: fcSDK.dll
Syntax
public abstract class Filter
Constructors
Filter()
Declaration
Properties
Generic
Declaration
protected FCGeneric Generic { get; }
Property Value
Session
Declaration
protected FCSession Session { get; }
Property Value
Methods
ConvertDate(FCSession, DateTime, out Boolean)
Declaration
protected static DateTime ConvertDate(FCSession fcSession, DateTime value, out bool isNowDate)
Parameters
Type |
Name |
Description |
FCSession |
fcSession |
|
System.DateTime |
value |
|
System.Boolean |
isNowDate |
|
Returns
Type |
Description |
System.DateTime |
|
GetActualDateValue(FCSession, Object)
Declaration
protected static DateTime GetActualDateValue(FCSession fcSession, object value)
Parameters
Type |
Name |
Description |
FCSession |
fcSession |
|
System.Object |
value |
|
Returns
Type |
Description |
System.DateTime |
|
Declaration
protected abstract string PerformRender(FCSession fcSession, FCGeneric gen, SqlHelper dbHelper)
Parameters
Returns
Type |
Description |
System.String |
|
Declaration
protected abstract void PerformValidateFilter(FCSession session, FCGeneric gen)
Parameters
Render(FCSession, FCGeneric, SqlHelper)
Declaration
public virtual string Render(FCSession fcSession, FCGeneric gen, SqlHelper dbHelper)
Parameters
Returns
Type |
Description |
System.String |
|
SetParameterValue(FCGeneric, SqlHelper, String, String, Object)
Declaration
protected static int SetParameterValue(FCGeneric fcGeneric, SqlHelper dbHelper, string paramName, string fieldName, object paramValue)
Parameters
Type |
Name |
Description |
FCGeneric |
fcGeneric |
|
SqlHelper |
dbHelper |
|
System.String |
paramName |
|
System.String |
fieldName |
|
System.Object |
paramValue |
|
Returns
Type |
Description |
System.Int32 |
|
ValidateDate(DateTime)
Declaration
protected static void ValidateDate(DateTime dateTime)
Parameters
Type |
Name |
Description |
System.DateTime |
dateTime |
|
ValidateFilter(FCSession, FCGeneric)
Declaration
public virtual void ValidateFilter(FCSession fcSession, FCGeneric gen)
Parameters
ValidateIsDateField(FCGeneric, String)
Declaration
protected static void ValidateIsDateField(FCGeneric fcGeneric, string fieldName)
Parameters
Type |
Name |
Description |
FCGeneric |
fcGeneric |
|
System.String |
fieldName |
|
ValidateIsDecimalField(FCGeneric, String)
Declaration
protected static void ValidateIsDecimalField(FCGeneric fcGeneric, string fieldName)
Parameters
Type |
Name |
Description |
FCGeneric |
fcGeneric |
|
System.String |
fieldName |
|
ValidateIsIntegerField(FCGeneric, String)
Declaration
protected virtual void ValidateIsIntegerField(FCGeneric fcGeneric, string fieldName)
Parameters
Type |
Name |
Description |
FCGeneric |
fcGeneric |
|
System.String |
fieldName |
|
ValidateIsStringField(FCGeneric, String)
Declaration
protected static void ValidateIsStringField(FCGeneric fcGeneric, string fieldName)
Parameters
Type |
Name |
Description |
FCGeneric |
fcGeneric |
|
System.String |
fieldName |
|
ValidateValidField(FCGeneric, String)
Declaration
protected static void ValidateValidField(FCGeneric fcGeneric, string fieldName)
Parameters
Type |
Name |
Description |
FCGeneric |
fcGeneric |
|
System.String |
fieldName |
|
ValidateValidField(FCGeneric, String, out Boolean)
Declaration
protected static void ValidateValidField(FCGeneric fcGeneric, string fieldName, out bool isRelation)
Parameters
Type |
Name |
Description |
FCGeneric |
fcGeneric |
|
System.String |
fieldName |
|
System.Boolean |
isRelation |
|