Class DbUpdateVersionException
Inheritance
System.Object
System.Exception
DbUpdateVersionException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FreeSql.Internal
Assembly: FreeSql.dll
Syntax
public class DbUpdateVersionException : Exception, ISerializable
Constructors
| Improve this Doc View SourceDbUpdateVersionException(String, TableInfo, String, DbParameter[], Int32, IEnumerable<Object>)
Declaration
public DbUpdateVersionException(string message, TableInfo table, string sql, DbParameter[] dbParms, int affrows, IEnumerable<object> source)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | |
| TableInfo | table | |
| System.String | sql | |
| System.Data.Common.DbParameter[] | dbParms | |
| System.Int32 | affrows | |
| System.Collections.Generic.IEnumerable<System.Object> | source |
Properties
| Improve this Doc View SourceAffrows
执行更新命令影响的行
Declaration
public int Affrows { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
DbParams
执行更新命令的参数
Declaration
public DbParameter[] DbParams { get; }
Property Value
| Type | Description |
|---|---|
| System.Data.Common.DbParameter[] |
EntitySource
更新的实体
Declaration
public IEnumerable<object> EntitySource { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<System.Object> |
EntitySourceCount
更新的实体数量
Declaration
public int EntitySourceCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Sql
执行更新的 SQL
Declaration
public string Sql { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Table
更新实体的元数据
Declaration
public TableInfo Table { get; }
Property Value
| Type | Description |
|---|---|
| TableInfo |
Implements
System.Runtime.Serialization.ISerializable