Class MissingPrimaryKeyException
Exception class for missing primary key.
Inheritance
System.Object
System.Exception
MissingPrimaryKeyException
Namespace: Kros.KORM.Exceptions
Assembly: Kros.KORM.dll
Syntax
public class MissingPrimaryKeyException : Exception, ISerializable, _Exception
Constructors
MissingPrimaryKeyException(String, String)
Initializes a new instance of the MissingPrimaryKeyException class.
Declaration
public MissingPrimaryKeyException(string message, string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message. |
System.String | tableName | Table name which doesn't have primary key. |
Properties
TableName
Table name which doesn't have primary key.
Declaration
public string TableName { get; }
Property Value
Type | Description |
---|---|
System.String |