/// <summary> /// Deprecated Method for adding a new object to the FileArticle EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFileArticle(FileArticle fileArticle) { base.AddObject("FileArticle", fileArticle); }
/// <summary> /// Create a new FileArticle 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="article_id">Initial value of the article_id property.</param> public static FileArticle CreateFileArticle(global::System.Int32 id, global::System.String name, global::System.String content_type, global::System.Byte[] data, global::System.Int32 version, global::System.Int32 article_id) { FileArticle fileArticle = new FileArticle(); fileArticle.id = id; fileArticle.name = name; fileArticle.content_type = content_type; fileArticle.data = data; fileArticle.version = version; fileArticle.article_id = article_id; return fileArticle; }