Class MemberTranslatorBase
- Namespace
- LinqToDB.Internal.DataProvider.Translation
- Assembly
- linq2db.dll
public class MemberTranslatorBase : IMemberTranslator
- Inheritance
-
objectMemberTranslatorBase
- Implements
- Derived
- Extension Methods
Fields
CombinedMemberTranslator
protected CombinedMemberTranslator CombinedMemberTranslator
Field Value
Registration
protected TranslationRegistration Registration
Field Value
Methods
Translate(ITranslationContext, Expression, TranslationFlags)
public Expression? Translate(ITranslationContext translationContext, Expression memberExpression, TranslationFlags translationFlags)
Parameters
translationContextITranslationContextmemberExpressionExpressiontranslationFlagsTranslationFlags
Returns
TranslateNoRequiredExpression(ITranslationContext, Expression?, TranslationFlags, bool)
Returns null if the expression is not required for translation
protected SqlPlaceholderExpression? TranslateNoRequiredExpression(ITranslationContext translationContext, Expression? objExpression, TranslationFlags translationFlags, bool skipIfParameter = true)
Parameters
translationContextITranslationContextobjExpressionExpressiontranslationFlagsTranslationFlagsskipIfParameterbool
Returns
TranslateOverrideHandler(ITranslationContext, Expression, TranslationFlags)
Called before every translation attempt.
protected virtual Expression? TranslateOverrideHandler(ITranslationContext translationContext, Expression memberExpression, TranslationFlags translationFlags)
Parameters
translationContextITranslationContextmemberExpressionExpressiontranslationFlagsTranslationFlags