/// <summary> /// Create a new Content object. /// </summary> /// <param name="content_id">Initial value of the content_id property.</param> /// <param name="content_data">Initial value of the content_data property.</param> public static Content CreateContent(global::System.Int32 content_id, global::System.Byte[] content_data) { Content content = new Content(); content.content_id = content_id; content.content_data = content_data; return content; }
/// <summary> /// Deprecated Method for adding a new object to the Contents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContents(Content content) { base.AddObject("Contents", content); }