Click or drag to resize

PFDataCollection Methods

The PFDataCollection type exposes the following members.

Methods
  NameDescription
Public methodGetAvailableEntries
Gets field names of entries that can be modified in this collection.
Public methodGetSavedValueObject
Gets a field's value at its state when loaded from the database, without taking into account the changes since.
Public methodGetValue
Gets a value as text, can return null.
Public methodGetValueBinary
Gets a value in byte array format. Will return null if the value is null or could not be converted.
Public methodGetValueBoolean
Gets a value in boolean format. Will try to convert the value if necessary. Will return false if the value is null or could not be converted.
Public methodGetValueDateTime(String)
Gets a value in date and time format. Will try to convert the value if necessary. Will return DateTime.MinValue if the value is null or could not be converted.
Protected methodGetValueDateTime(String, Boolean)
Gets a value in date and time format. Will try to convert the value if necessary. Will return DateTime.MinValue if the value is null or could not be converted, except if canBeNull is true.
Public methodGetValueDateTimeOffset(String)
Gets a value in date and time (with offset) format. Will try to convert the value if necessary. Will return DateTimeOffset.MinValue if the value is null or could not be converted.
Protected methodGetValueDateTimeOffset(String, Boolean)
Gets a value in date and time (with offset) format. Will try to convert the value if necessary. Will return DateTimeOffset.MinValue if the value is null or could not be converted, except if canBeNull is true.
Public methodGetValueDecimal(String)
Gets a value in decimal format. Will try to convert the value if necessary. Will return 0 if the value is null or could not be converted.
Protected methodGetValueDecimal(String, Boolean)
Gets a value in decimal format. Will try to convert the value if necessary. Will return 0 if the value is null or could not be converted, except if canBeNull is true.
Public methodGetValueDouble
Gets a value in double format. Will try to convert the value if necessary. Will return 0 if the value is null or could not be converted.
Public methodGetValueFloat
Gets a value in float format. Will try to convert the value if necessary. Will return 0 if the value is null or could not be converted.
Public methodGetValueGuid
Gets a value in guid format. Will try to convert the value if necessary. Will return Guid.Empty if the value is null or could not be converted.
Public methodGetValueInteger
Gets a value in integer format. Will try to convert the value if necessary. Will return 0 if the value is null or could not be converted.
Public methodGetValueLong
Gets a value in long format. Will try to convert the value if necessary. Will return 0 if the value is null or could not be converted.
Public methodGetValueNullableBoolean
Gets a value in nullable boolean format. Will try to convert the value if necessary. Will return null if the value could not be converted.
Public methodGetValueObject
Gets a value without any conversion.
Public methodGetValueState
Gets the current state of a value in the collection. Can be empty if no entry found for this field name.
Public methodGetValueText
Gets a value as text, will return String.Empty if the value does not exist or is null.
Public methodGetValueUser
Gets a user value. Will return null if the value has the wrong type.
Public methodHasPropertyChanged(String) Obsolete.
Checks if the specified entry is 'Modified' in the collection.
Public methodHasPropertyChanged(String, Boolean) Obsolete.
Checks if the specified entry is 'Modified' in the collection.
Public methodHasValueChanged(String)
Checks if the specified value has been modified since its loading from the database.
Public methodHasValueChanged(String, Boolean, Boolean)
Checks if the specified value has been modified since its loading from the database.
Public methodIsEntryAvailable Obsolete.
Determines whether an entry is available for the specified field name.
Public methodIsValueAvailable
Determines whether a value is available for the specified field name.
Public methodSetValue
Sets a value in the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also