C# Class ODataRestierDynamic.Helpers.TableHelperExtensions

A table helper extensions.
Mostra file Open project: arcelormittalkriviyrih/odata_unified_svc

Public Methods

Method Description
Exists ( this properties, string propertyName ) : bool

A List<TablePropertyBuildHelper> extension method that determine if 'properties' exists.

Find ( this tableBuildHelperList, string tableName ) : TableBuildHelper

A List<TableBuildHelper> extension method that searches for the first match.

Find ( this properties, string columnName ) : TablePropertyBuildHelper

A List<TablePropertyBuildHelper> extension method that searches for the first match.

Method Details

Exists() public static method

A List<TablePropertyBuildHelper> extension method that determine if 'properties' exists.
public static Exists ( this properties, string propertyName ) : bool
properties this The properties to act on.
propertyName string Name of the property.
return bool

Find() public static method

A List<TableBuildHelper> extension method that searches for the first match.
public static Find ( this tableBuildHelperList, string tableName ) : TableBuildHelper
tableBuildHelperList this The tableBuildHelperList to act on.
tableName string Name of the table.
return TableBuildHelper

Find() public static method

A List<TablePropertyBuildHelper> extension method that searches for the first match.
public static Find ( this properties, string columnName ) : TablePropertyBuildHelper
properties this The properties to act on.
columnName string Name of the column.
return TablePropertyBuildHelper