コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Contents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContents(Content content)
 {
     base.AddObject("Contents", content);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Content object.
 /// </summary>
 /// <param name="mainTable">Initial value of the MainTable property.</param>
 /// <param name="contents">Initial value of the Contents property.</param>
 /// <param name="presText">Initial value of the PresText property.</param>
 /// <param name="presCode">Initial value of the PresCode property.</param>
 /// <param name="copyright">Initial value of the Copyright property.</param>
 /// <param name="statAuthority">Initial value of the StatAuthority property.</param>
 /// <param name="producer">Initial value of the Producer property.</param>
 /// <param name="unit">Initial value of the Unit property.</param>
 /// <param name="presDecimals">Initial value of the PresDecimals property.</param>
 /// <param name="presCellsZero">Initial value of the PresCellsZero property.</param>
 /// <param name="aggregPossible">Initial value of the AggregPossible property.</param>
 /// <param name="stockFA">Initial value of the StockFA property.</param>
 /// <param name="dayAdj">Initial value of the DayAdj property.</param>
 /// <param name="seasAdj">Initial value of the SeasAdj property.</param>
 /// <param name="footnoteContents">Initial value of the FootnoteContents property.</param>
 /// <param name="footnoteVariable">Initial value of the FootnoteVariable property.</param>
 /// <param name="footnoteValue">Initial value of the FootnoteValue property.</param>
 /// <param name="footnoteTime">Initial value of the FootnoteTime property.</param>
 /// <param name="storeColumnNo">Initial value of the StoreColumnNo property.</param>
 /// <param name="storeFormat">Initial value of the StoreFormat property.</param>
 /// <param name="storeNoChar">Initial value of the StoreNoChar property.</param>
 /// <param name="storeDecimals">Initial value of the StoreDecimals property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="logDate">Initial value of the LogDate property.</param>
 public static Content CreateContent(global::System.String mainTable, global::System.String contents, global::System.String presText, global::System.String presCode, global::System.String copyright, global::System.String statAuthority, global::System.String producer, global::System.String unit, global::System.Int16 presDecimals, global::System.String presCellsZero, global::System.String aggregPossible, global::System.String stockFA, global::System.String dayAdj, global::System.String seasAdj, global::System.String footnoteContents, global::System.String footnoteVariable, global::System.String footnoteValue, global::System.String footnoteTime, global::System.Int16 storeColumnNo, global::System.String storeFormat, global::System.Int16 storeNoChar, global::System.Int16 storeDecimals, global::System.String userId, global::System.DateTime logDate)
 {
     Content content = new Content();
     content.MainTable = mainTable;
     content.Contents = contents;
     content.PresText = presText;
     content.PresCode = presCode;
     content.Copyright = copyright;
     content.StatAuthority = statAuthority;
     content.Producer = producer;
     content.Unit = unit;
     content.PresDecimals = presDecimals;
     content.PresCellsZero = presCellsZero;
     content.AggregPossible = aggregPossible;
     content.StockFA = stockFA;
     content.DayAdj = dayAdj;
     content.SeasAdj = seasAdj;
     content.FootnoteContents = footnoteContents;
     content.FootnoteVariable = footnoteVariable;
     content.FootnoteValue = footnoteValue;
     content.FootnoteTime = footnoteTime;
     content.StoreColumnNo = storeColumnNo;
     content.StoreFormat = storeFormat;
     content.StoreNoChar = storeNoChar;
     content.StoreDecimals = storeDecimals;
     content.UserId = userId;
     content.LogDate = logDate;
     return content;
 }