PFFile Class |
Namespace: Packflow.Core.Poco
[DataContractAttribute] public sealed class PFFile : PFObject<PFFile>
The PFFile type exposes the following members.
Name | Description | |
---|---|---|
Confirmed |
Gets a value indicating whether this file has been confirmed after its upload.
| |
ContentUpdatedAt |
Gets the date of last change of this file content.
| |
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.) | |
FieldId |
Gets the id of the field hosting this file.
| |
FieldName |
Gets the name of the field hosting this file.
| |
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.) | |
Name |
Gets the file's name.
| |
ObjectReference |
Gets the reference to the corresponding object persisted in Packflow.
(Inherited from PFObject.) | |
Size |
Gets the file's size.
| |
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.) | |
Url |
Gets the file's relative url.
| |
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.
(Inherited from PFObjectPackflowType.) | |
LoadFromPackflowObject |
Loads the value of a data collection in this POCO.
(Overrides PFObjectPackflowTypeLoadFromPackflowObject(PackflowType).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdatePackflowObject |
Updates the data collection of the corresponding Packflow object with the data of this POCO.
(Inherited from PFObjectPackflowType.) |
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.) |