FileAttachmentsBusinessEntity.NewEntity

NewEntity
Used to create a new entity instance and imadiately attach a file to a certain object/;entity.

public static FileAttachmentsBusinessEntity NewEntity( string fileName,
	Guid attachToObjectId );

Parameters

fileName
Name of the file to be attached

attachToObjectId
Object/Entity id the file is to be attached to

Overloads:

public static FileAttachmentsBusinessEntity NewEntity();

See also:

Class FileAttachmentsBusinessEntity


  Last Updated: 5/23/2007 | © , 2007