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 Object → Exception → BaseException<TableHasNoPrimaryKeyException> → TableHasNoPrimaryKeyException
Implements ISerializable
Properties
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
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