Search Results for

    Show / Hide Table of Contents

    Class ExpressionCallContext

    Inheritance
    System.Object
    ExpressionCallContext
    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: FreeSql.DataAnnotations
    Assembly: FreeSql.dll
    Syntax
    public class ExpressionCallContext

    Properties

    | Improve this Doc View Source

    DataType

    数据库类型,可用于适配多种数据库环境

    Declaration
    public DataType DataType { get; }
    Property Value
    Type Description
    DataType
    | Improve this Doc View Source

    DbParameter

    主对象的参数化对象,可重塑其属性

    Declaration
    public DbParameter DbParameter { get; }
    Property Value
    Type Description
    System.Data.Common.DbParameter
    | Improve this Doc View Source

    FormatSql

    将 c# 对象转换为 SQL

    Declaration
    public Func<object, string> FormatSql { get; }
    Property Value
    Type Description
    System.Func<System.Object, System.String>
    | Improve this Doc View Source

    ParsedContent

    已解析的表达式中参数内容

    Declaration
    public Dictionary<string, string> ParsedContent { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>
    | Improve this Doc View Source

    RawExpression

    表达式原始值

    Declaration
    public Dictionary<string, Expression> RawExpression { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Linq.Expressions.Expression>
    | Improve this Doc View Source

    Result

    返回表达式函数表示的 SQL 字符串

    Declaration
    public string Result { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UserParameters

    可附加参数化对象

    注意:本属性只有 Where 的表达式解析才可用

    Declaration
    public List<DbParameter> UserParameters { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Data.Common.DbParameter>
    | Improve this Doc View Source

    Utility

    Declaration
    public ExpressionCallContext.IUtility Utility { get; }
    Property Value
    Type Description
    ExpressionCallContext.IUtility
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX