Search Results for

    Show / Hide Table of Contents

    Class CurdBeforeEventArgs

    Inheritance
    System.Object
    System.EventArgs
    CurdBeforeEventArgs
    CurdAfterEventArgs
    Inherited Members
    System.EventArgs.Empty
    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.Aop
    Assembly: FreeSql.dll
    Syntax
    public class CurdBeforeEventArgs : EventArgs

    Constructors

    | Improve this Doc View Source

    CurdBeforeEventArgs(Guid, Stopwatch, Type, TableInfo, CurdType, String, DbParameter[], Dictionary<String, Object>)

    Declaration
    protected CurdBeforeEventArgs(Guid identifier, Stopwatch stopwatch, Type entityType, TableInfo table, CurdType curdType, string sql, DbParameter[] dbParms, Dictionary<string, object> states)
    Parameters
    Type Name Description
    System.Guid identifier
    System.Diagnostics.Stopwatch stopwatch
    System.Type entityType
    TableInfo table
    CurdType curdType
    System.String sql
    System.Data.Common.DbParameter[] dbParms
    System.Collections.Generic.Dictionary<System.String, System.Object> states
    | Improve this Doc View Source

    CurdBeforeEventArgs(Type, TableInfo, CurdType, String, DbParameter[])

    Declaration
    public CurdBeforeEventArgs(Type entityType, TableInfo table, CurdType curdType, string sql, DbParameter[] dbParms)
    Parameters
    Type Name Description
    System.Type entityType
    TableInfo table
    CurdType curdType
    System.String sql
    System.Data.Common.DbParameter[] dbParms

    Properties

    | Improve this Doc View Source

    CurdType

    操作类型

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

    DbParms

    参数化命令

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

    EntityType

    实体类型

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

    Identifier

    标识符,可将 CurdBefore 与 CurdAfter 进行匹配

    Declaration
    public Guid Identifier { get; protected set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    Sql

    执行的 SQL

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

    States

    状态数据,可与 CurdAfter 共享

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

    Stopwatch

    Declaration
    protected Stopwatch Stopwatch { get; }
    Property Value
    Type Description
    System.Diagnostics.Stopwatch
    | Improve this Doc View Source

    Table

    实体类型的元数据

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