Class SyncStructureBeforeEventArgs
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 SyncStructureBeforeEventArgs : EventArgs
Constructors
| Improve this Doc View SourceSyncStructureBeforeEventArgs(Guid, Stopwatch, Type[], Dictionary<String, Object>)
Declaration
protected SyncStructureBeforeEventArgs(Guid identifier, Stopwatch stopwatch, Type[] entityTypes, Dictionary<string, object> states)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | identifier | |
System.Diagnostics.Stopwatch | stopwatch | |
System.Type[] | entityTypes | |
System.Collections.Generic.Dictionary<System.String, System.Object> | states |
SyncStructureBeforeEventArgs(Type[])
Declaration
public SyncStructureBeforeEventArgs(Type[] entityTypes)
Parameters
Type | Name | Description |
---|---|---|
System.Type[] | entityTypes |
Properties
| Improve this Doc View SourceEntityTypes
实体类型
Declaration
public Type[] EntityTypes { get; }
Property Value
Type | Description |
---|---|
System.Type[] |
Identifier
标识符,可将 SyncStructureBeforeEventArgs 与 SyncStructureAfterEventArgs 进行匹配
Declaration
public Guid Identifier { get; protected set; }
Property Value
Type | Description |
---|---|
System.Guid |
States
状态数据,可与 SyncStructureAfter 共享
Declaration
public Dictionary<string, object> States { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
Stopwatch
Declaration
protected Stopwatch Stopwatch { get; }
Property Value
Type | Description |
---|---|
System.Diagnostics.Stopwatch |