Click or drag to resize

PFItemDataCollection Class

Contains the metadata of a PFItem.
Inheritance Hierarchy

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public sealed class PFItemDataCollection : PFDataCollection

The PFItemDataCollection type exposes the following members.

Properties
  NameDescription
Public propertyHasPendingModifications
Gets a valud indicating whether a minimum of one value is currently 'Modified' in the collection.
(Inherited from PFDataCollection.)
Top
Methods
  NameDescription
Public methodGetAvailableEntries
Gets field names of entries that can be modified in this collection.
(Inherited from PFDataCollection.)
Public methodGetFieldValueObject
Gets a value without any conversion.
Public methodGetModifiedValues
Gets all modified values in the collection.
Public methodGetSavedValueObject(String)
Gets a field's value at its state when loaded from the database, without taking into account the changes since.
(Inherited from PFDataCollection.)
Public methodGetSavedValueObject(PFField)
Gets a field's value at its state when loaded from the database, without taking into account the changes since.
Public methodGetValue(String)
Gets a value as text, can return null.
(Inherited from PFDataCollection.)
Public methodGetValue(PFField)
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
Public methodGetValueChoice
Gets a choice value. Will return null if the value has the wrong type.
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
Public methodGetValueFileHolder
Gets a file holder value. Will return null if the value has the wrong type.
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
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.
(Inherited from PFDataCollection.)
Public methodGetValueObject(String)
Gets a value without any conversion.
(Inherited from PFDataCollection.)
Public methodGetValueObject(PFField)
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.
(Inherited from PFDataCollection.)
Public methodGetValueText(String)
Gets a value as text, will return String.Empty if the value does not exist or is null.
(Inherited from PFDataCollection.)
Public methodGetValueText(PFField)
Gets a value as text, will return String.Empty if the value does not exist or is null.
Public methodGetValueUrl
Gets an url value. Will return null if the value has the wrong type.
Public methodGetValueUser
Gets a user value. Will return null if the value has the wrong type.
(Inherited from PFDataCollection.)
Public methodHasPropertyChanged(String) Obsolete.
Checks if the specified entry is 'Modified' in the collection.
(Inherited from PFDataCollection.)
Public methodHasPropertyChanged(String, Boolean) Obsolete.
Checks if the specified entry is 'Modified' in the collection.
(Inherited from PFDataCollection.)
Public methodHasValueChanged(String)
Checks if the specified value has been modified since its loading from the database.
(Inherited from PFDataCollection.)
Public methodHasValueChanged(String, Boolean, Boolean)
Checks if the specified value has been modified since its loading from the database.
(Inherited from PFDataCollection.)
Public methodIsEntryAvailable Obsolete.
Determines whether an entry is available for the specified field name.
(Inherited from PFDataCollection.)
Public methodIsValueAvailable
Determines whether a value is available for the specified field name.
(Inherited from PFDataCollection.)
Public methodIsValueEmpty
Checks if a value is not initialized or null.
Public methodSetValue(String, Object)
Sets a value in the collection.
(Inherited from PFDataCollection.)
Public methodSetValue(PFField, Object)
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