Skip to content

TableHasNoPrimaryKeyException

Namespace: SlottyMedia.Database.Exceptions

This exception is thrown when a table has no primary key.

public class TableHasNoPrimaryKeyException : SlottyMedia.LoggingProvider.BaseException`1[[SlottyMedia.Database.Exceptions.TableHasNoPrimaryKeyException, SlottyMedia.Database, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Runtime.Serialization.ISerializable

Inheritance ObjectException → BaseException<TableHasNoPrimaryKeyException> → TableHasNoPrimaryKeyException
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

TableHasNoPrimaryKeyException()

The default constructor.

public TableHasNoPrimaryKeyException()

TableHasNoPrimaryKeyException(String)

The constructor with parameters.

public TableHasNoPrimaryKeyException(string message)

Parameters

message String

TableHasNoPrimaryKeyException(String, Exception)

The constructor with parameters.

public TableHasNoPrimaryKeyException(string message, Exception innerException)

Parameters

message String

innerException Exception