C# 클래스 Neo4jClient.Cypher.CypherWithExpressionBuilder

파일 보기 프로젝트 열기: Readify/Neo4jClient 1 사용 예제들

공개 메소드들

메소드 설명
BuildText ( LambdaExpression expression ) : ReturnExpression
CypherWithExpressionBuilder ( CypherCapabilities capabilities, bool camelCaseProperties ) : System

비공개 메소드들

메소드 설명
BuildCypherAllStatement ( MethodCallExpression expression ) : string
BuildCypherResultItemStatement ( MethodCallExpression expression, bool isNullable ) : string
BuildCypherReturnStatement ( MethodCallExpression expression ) : string
BuildStatement ( ConstantExpression expression, MemberInfo targetMember ) : string
BuildStatement ( Expression sourceExpression, MemberInfo targetMember ) : string
BuildStatement ( MemberExpression memberExpression, MemberInfo targetMember ) : string
BuildStatement ( MethodCallExpression expression, MemberInfo targetMember ) : string
BuildStatement ( MethodCallExpression expression, bool isNullable ) : string
BuildStatement ( System.Linq.Expressions.ParameterExpression expression, MemberInfo targetMember ) : string
BuildText ( MemberExpression expression ) : string This build method caters to expressions like: item => item.As<Foo>().Bar
BuildText ( MemberInitExpression expression ) : string This build method caters to object initializers, like: new MyType { Foo = "Bar", Baz = "Qak" } It does not however cater to anonymous types, as they don't compile down to traditional object initializers. BuildText(NewExpression) caters to anonymous types.
BuildText ( MethodCallExpression expression ) : string This build method caters to expressions like: item => item.Count()
BuildText ( NewExpression expression ) : string This C#: new { Foo = "Bar", Baz = "Qak" } translates to: new __SomeAnonymousType("Bar", "Qak") which is then a NewExpression rather than a MemberInitExpression. This is the scenario that this build method caters for.
BuildWrappedFunction ( MethodCallExpression methodCallExpression ) : WrappedFunctionCall
IsMemberNullable ( MemberInfo memberInfo ) : bool
IsMemberNullable ( string memberName, Type declaringType ) : bool
IsNodeOfT ( MethodInfo methodInfo ) : bool
IsTypeNullable ( Type type ) : bool
UnwrapImplicitCasts ( Expression expression ) : Expression

메소드 상세

BuildText() 공개 메소드

public BuildText ( LambdaExpression expression ) : ReturnExpression
expression System.Linq.Expressions.LambdaExpression
리턴 ReturnExpression

CypherWithExpressionBuilder() 공개 메소드

public CypherWithExpressionBuilder ( CypherCapabilities capabilities, bool camelCaseProperties ) : System
capabilities CypherCapabilities
camelCaseProperties bool
리턴 System