/// <summary> /// Deprecated Method for adding a new object to the FileBook EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFileBook(FileBook fileBook) { base.AddObject("FileBook", fileBook); }
/// <summary> /// Create a new FileBook object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="content_type">Initial value of the content_type property.</param> /// <param name="data">Initial value of the data property.</param> /// <param name="version">Initial value of the version property.</param> /// <param name="book_id">Initial value of the book_id property.</param> public static FileBook CreateFileBook(global::System.Int32 id, global::System.String name, global::System.String content_type, global::System.Byte[] data, global::System.Int32 version, global::System.Int32 book_id) { FileBook fileBook = new FileBook(); fileBook.id = id; fileBook.name = name; fileBook.content_type = content_type; fileBook.data = data; fileBook.version = version; fileBook.book_id = book_id; return fileBook; }