Utils MembersEasyQuery WinForms API Reference

The Utils type exposes the following members.
Constructors

  NameDescription
Public methodUtils
Initializes a new instance of the Utils class
Back to Top
Methods

  NameDescription
Public methodStatic memberAreCompatibleTypes
Returns true if type1 can be converted to type2.
Public methodStatic memberComposeKey
Composes the key (for attributes, entities, etc). Returns "parent.key" if both parent and key are not empty/null
Public methodStatic memberDataKindByName
Gets the DataKind value by its text representation.
Public methodStatic memberDataTypeByName
Returns DataType value by its string representation
Public methodStatic memberDateTimeToInternalFormat
Converts DateTime value to its string representation in internal format (yyyy-MM-dd).
Public methodStatic memberDateTimeToUserFormat
Converts DateTime value to its string representation in current system format.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberFormatDateTimeValue
Formats the date time value.
Public methodStatic memberGetDataTypeBySystemType
Gets the type of the data type by system type.
Public methodStatic memberGetDateTimeInternalFormat
Gets the format used for internal textual representation of date/time values. EasyQuery uses "yyyy-MM-dd" format.
Public methodStatic memberGetElementContentAsString
Reads the content of current XML element (as string)
Public methodStatic memberGetEnumValues
Gets all values of the enum.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodStatic memberGetMappedProperties
Filters the list of properties (defined by source parameter) to return only those which does not have "NotMapped" attribute.
Public methodStatic memberGetPropertyDisplayName
Returns the display name of the property. This function tries to get the name defined by Display or DisplayName attributes. If any of these attributes is not defined - then the property name is returned.
Public methodStatic memberGetSystemTypeByDataType
Gets the system type by data type.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberGetTypeDisplayName
Gets the display name of the type. This function tries to get the name defined by Entity or EntityName attributes. If any of these attributes is not defined - then the type name is returned.
Public methodStatic memberInternalFormatToDateTime
Convert string representation in internal format to DateTime value.
Public methodStatic memberIsAttributeDefined
Determines whether the attribute with specified name is defined for the property.
Public methodStatic memberIsComplexType
Determines whether the specified type is complex type (marked by ComplexType attribute).
Public methodStatic memberIsEnumerable
Determines whether the specified type is enumerable (supports IEnumerable interface.
Public methodStatic memberIsEnumerableOfSimpleType
Determines whether the specified type is an enumerable of some simple type .
Public methodStatic memberIsPrimaryKey
Determines whether specified property is a primary key.
Public methodStatic memberIsQueryable
Determines whether the specified type implements OnlineIQueryable interface.
Public methodStatic memberIsSimpleType
Checks if the type can be used in columns and conditions
Public methodStatic memberIsStrNullOrEmpty
Determines whether specified string is null or empty.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberMoveToAttribute
Moves current position of XmlReader into specified attribute.
Public methodStatic memberOldFormatToDateTime
Convert string representation in old format to DateTime value.
Public methodStatic memberSafeParseInt
Converts the string representation of a number to its 32-bit signed integer equivalent. This method does not throw an exception. Instead - it returns some pre-defined value for unsuccessful conversions.
Public methodStatic memberStrToIdentifier
Converts any string to an identifier (changes all symbols like '.' ';' '?' etc to '_')
Public methodStatic memberTextEq
Provides case-insensitive string comparision
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyStatic memberInternalDateFormat
Gets the internal date format (yyyy-MM-dd).
Public propertyStatic memberInternalTimeFormat
Gets the internal time format (HH:mm:ss).
Back to Top
See Also