Click or drag to resize

TypeShortcut Class

Simple class which is used to specify shortcuts for .NET types.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.EntityModelTypeShortcut

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public class TypeShortcut : IFieldType, 
	INotifyPropertyChanged, INotifyAsChanged, IComparable, ISerializableToXml, IDataErrorInfo, 
	IEditableObject, INotifyAsRemoved

The TypeShortcut type exposes the following members.

Constructors
  NameDescription
Public methodTypeShortcut
Initializes a new instance of the TypeShortcut class.
Public methodTypeShortcut(String, Type, Boolean)
Initializes a new instance of the TypeShortcut class.
Top
Properties
  NameDescription
Public propertyDefaultLength
Gets or sets the default length for the type (if specified, default is 0)
Public propertyDefaultPrecision
Gets or sets the default precision for the type (if specified, default is 0)
Public propertyDefaultScale
Gets or sets the default scale for the type (if specified, default is 0)
Public propertyDefaultValuesPerDriverID
Gets the default values per driverID. If a driver id isn't mentioned, no default value is present for that driver id. It can be a default value is present for a driver id which isn't in the project. The default value is then ignored.
Public propertyError
Gets an error message indicating what is wrong with this object. The default is an empty string ("")
Public propertyFieldTypeForXml
Gets the field type for XML serialization. This is a descriptive string, which is preformatted to ease deserialization.
Public propertyID
Gets or sets the ID of this type shortcut. This ID is created during instantiation and is unique for an instance. It is used for comparing copy instances with real instances when copy instances are used for editing.
Public propertyIsSystemTypeShortcut
Gets or sets a value indicating whether this instance is a system type shortcut.
Public propertyIsValid
Gets a value indicating whether this instance is valid.
Public propertyItem
Gets the String with the specified column name.
Public propertyKindOfType
Gets or sets the kind of type this fieldtype represents
Public propertyLastChangedProperty
Gets the last changed property.
Public propertyRepresentedType
Gets or sets the type represented by this shortcut
Public propertyRepresentedTypeFullName
Gets the full name of the represented type.
Public propertyShortcut
Gets or sets the short cut.
Public propertyShortcutValidator
Sets the shortcut validator.
Public propertyTypeName
Gets the name of the type in textual format.
Top
Methods
  NameDescription
Public methodBeginEdit
Begins an edit on an object.
Public methodCancelEdit
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodDeserializeFromReader
Deserializes the data from reader.
Public methodEndEdit
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDefaultsForDriverID
Gets the defaults for this shortcut for the database with the driver id specified
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Called when a property was changed
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventHasBeenChanged
Raised when the implementing element has been changed
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also