Class UniqueConstraintException
Inheritance
System.Object
UniqueConstraintException
Assembly: NineDigit.eKasa.dll
Syntax
public class UniqueConstraintException : DbUpdateException
Constructors
UniqueConstraintException(SerializationInfo, StreamingContext)
Declaration
protected UniqueConstraintException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type |
Name |
Description |
System.Runtime.Serialization.SerializationInfo |
serializationInfo |
|
System.Runtime.Serialization.StreamingContext |
streamingContext |
|
UniqueConstraintException(String, String)
Declaration
public UniqueConstraintException(string tableName, string indexName)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
indexName |
|
UniqueConstraintException(String, String, IReadOnlyList<IUpdateEntry>)
Declaration
public UniqueConstraintException(string tableName, string indexName, IReadOnlyList<IUpdateEntry> entries)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
indexName |
|
System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> |
entries |
|
UniqueConstraintException(String, String, IReadOnlyList<IUpdateEntry>, Exception)
Declaration
public UniqueConstraintException(string tableName, string indexName, IReadOnlyList<IUpdateEntry> entries, Exception innerException)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
indexName |
|
System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> |
entries |
|
System.Exception |
innerException |
|
UniqueConstraintException(String, String, Exception)
Declaration
public UniqueConstraintException(string tableName, string indexName, Exception innerException)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
indexName |
|
System.Exception |
innerException |
|
UniqueConstraintException(String, String, String)
Declaration
public UniqueConstraintException(string message, string tableName, string indexName)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.String |
tableName |
|
System.String |
indexName |
|
UniqueConstraintException(String, String, String, IReadOnlyList<IUpdateEntry>)
Declaration
public UniqueConstraintException(string message, string tableName, string indexName, IReadOnlyList<IUpdateEntry> entries)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.String |
tableName |
|
System.String |
indexName |
|
System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> |
entries |
|
UniqueConstraintException(String, String, String, IReadOnlyList<IUpdateEntry>, Exception)
Declaration
public UniqueConstraintException(string message, string tableName, string indexName, IReadOnlyList<IUpdateEntry> entries, Exception innerException)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.String |
tableName |
|
System.String |
indexName |
|
System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> |
entries |
|
System.Exception |
innerException |
|
UniqueConstraintException(String, String, String, Exception)
Declaration
public UniqueConstraintException(string message, string tableName, string indexName, Exception innerException)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.String |
tableName |
|
System.String |
indexName |
|
System.Exception |
innerException |
|
Properties
IndexName
Declaration
public string IndexName { get; }
Property Value
Type |
Description |
System.String |
|
TableName
Declaration
public string TableName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
System.Runtime.Serialization.SerializationInfo |
info |
|
System.Runtime.Serialization.StreamingContext |
context |
|