Class ExpressionPropertyAccessor
Inheritance
System.Object
ExpressionPropertyAccessor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LightQuery.Client
Assembly: LightQuery.Client.dll
Syntax
public static class ExpressionPropertyAccessor
Methods
| Improve this Doc View SourceGetPropertyNameFromExpression<T, TKey>(Expression<Func<T, TKey>>)
Declaration
public static string GetPropertyNameFromExpression<T, TKey>(Expression<Func<T, TKey>> property)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Linq.Expressions.Expression<System.Func<T, TKey>> | property |
Returns
| Type | Description |
|---|---|
| System.String |
Type Parameters
| Name | Description |
|---|---|
| T | |
| TKey |
PropertyExistsOnType<T>(String)
Declaration
public static bool PropertyExistsOnType<T>(string parameterName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | parameterName |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Type Parameters
| Name | Description |
|---|---|
| T |