Click or drag to resize

PFApplicationServicePackflowApplicationTypeCreateItemPocoItemType Method (String, Int64, DateTimeOffset, PFPrincipalValueReference, String, Int64)

Creates an item (persisted) for a given content-type, with an owner item and forced creation info.

Namespace:  Packflow.Interface.Services
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
protected PocoItemType CreateItem<PocoItemType>(
	string contentTypeName,
	long contextId,
	DateTimeOffset createdAt,
	PFPrincipalValueReference createdBy,
	string ownerItemRelationName,
	long ownerItemId
)
where PocoItemType : PFItem

Parameters

contentTypeName
Type: SystemString
contextId
Type: SystemInt64
createdAt
Type: SystemDateTimeOffset
createdBy
Type: Packflow.Core.PocoPFPrincipalValueReference
ownerItemRelationName
Type: SystemString
ownerItemId
Type: SystemInt64

Type Parameters

PocoItemType

Return Value

Type: PocoItemType
See Also