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