PFObjectPackflowType Class |
Namespace: Packflow.Core.Poco
[DataContractAttribute] public abstract class PFObject<PackflowType> : PFObject where PackflowType : PFBaseObject
The PFObjectPackflowType type exposes the following members.
Name | Description | |
---|---|---|
PFObjectPackflowType |
Initializes a new instance of a derived class of PFObject.
|
Name | Description | |
---|---|---|
CreatedAt |
Gets the date of creation of this object in the database.
(Inherited from PFObject.) | |
CreatedBy |
Gets the user who created this object in the database.
(Inherited from PFObject.) | |
Guid |
Gets the GUID identifying this object.
(Inherited from PFObject.) | |
Id |
Gets the id identifying this object.
(Inherited from PFObject.) | |
IgnoreVersionConflicts |
Gets or sets a value indicating whether version conflicts should be ignored when
updating a packflow object from this poco.
Note : this value is not persisted nor serialiazed.
Therefore this only affects the current instance.
(Inherited from PFObject.) | |
ObjectReference |
Gets the reference to the corresponding object persisted in Packflow.
(Inherited from PFObject.) | |
UpdatedAt |
Gets the date of the last update of this object.
(Inherited from PFObject.) | |
UpdatedBy |
Gets the user who last updated this object in the database.
(Inherited from PFObject.) | |
VersionNumber |
Gets the version number of this object in database. Incremented after each save.
(Inherited from PFObject.) |
Name | Description | |
---|---|---|
GetPackflowObject |
Gets the object corresponding to this POCO in a given Packflow site.
| |
GetValueBinary |
Gets a value in byte[] format.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueBoolean |
Gets a value in bool format.
Will return false if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueDateTimeOffset |
Gets a value in DateTimeOffset format.
Will return DateTimeOffset.MinValue if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueDecimal |
Gets a value in decimal format.
Will return 0 if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueDouble |
Gets a value in double format.
Will return 0 if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueEnumT |
Gets a value and converts it to an enum value.
Will return default(T) if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueFiles |
Gets a file value.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueFloat |
Gets a value in float format.
Will return 0 if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueGuid |
Gets a value in Guid format.
Will return Guid.Empty if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueInt |
Gets a value in int format.
Will return 0 if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueItems |
Gets an item value.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueLong |
Gets a value in long format.
Will return 0 if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueNullableBoolean |
Gets a value in bool format.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueNullableDateTimeOffset |
Gets a value in DateTimeOffset format.
Will return null if the value does not exist, is null, or is equal to DateTimeOffset.MinValue.
(Inherited from PFObject.) | |
GetValueNullableDecimal |
Gets a value in decimal format.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueObjectT |
Gets a value of a given type.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueText |
Gets a value as text.
Will return String.Empty if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueUrl |
Gets an url value.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
GetValueUsers |
Gets a user value.
Will return null if the value does not exist or is null.
(Inherited from PFObject.) | |
LoadFromPackflowObject |
Loads the value of a data collection in this POCO.
| |
SetValue |
Sets a value in the data dictionary for a given key.
(Inherited from PFObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TransformValueForPoco |
Transforms a value (obtained from a Packflow object) so it can be stored in this POCO.
| |
UpdatePackflowObject |
Updates the data collection of the corresponding Packflow object with the data of this POCO.
| |
Validate |
Validates the specified value against XSS injection.
|
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |