/// <summary> /// Create a new SingleFile object. /// </summary> /// <param name="singleFileID">Initial value of the SingleFileID property.</param> /// <param name="folderID">Initial value of the FolderID property.</param> /// <param name="isNoContent">Initial value of the IsNoContent property.</param> /// <param name="accessDate">Initial value of the AccessDate property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> /// <param name="sizeInBytes">Initial value of the SizeInBytes property.</param> /// <param name="lastEntryDateTime">Initial value of the LastEntryDateTime property.</param> public static SingleFile CreateSingleFile(global::System.Int64 singleFileID, global::System.Int64 folderID, global::System.Boolean isNoContent, global::System.DateTime accessDate, global::System.DateTime createdDate, global::System.DateTime modifiedDate, global::System.Decimal sizeInBytes, global::System.DateTime lastEntryDateTime) { SingleFile singleFile = new SingleFile(); singleFile.SingleFileID = singleFileID; singleFile.FolderID = folderID; singleFile.IsNoContent = isNoContent; singleFile.AccessDate = accessDate; singleFile.CreatedDate = createdDate; singleFile.ModifiedDate = modifiedDate; singleFile.SizeInBytes = sizeInBytes; singleFile.LastEntryDateTime = lastEntryDateTime; return(singleFile); }
/// <summary> /// Deprecated Method for adding a new object to the SingleFiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSingleFiles(SingleFile singleFile) { base.AddObject("SingleFiles", singleFile); }