コード例 #1
0
 /// <summary>
 /// Create a new Culture object.
 /// </summary>
 /// <param name="cultureID">Initial value of the CultureID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Culture CreateCulture(global::System.String cultureID, global::System.String name, global::System.DateTime modifiedDate)
 {
     Culture culture = new Culture();
     culture.CultureID = cultureID;
     culture.Name = name;
     culture.ModifiedDate = modifiedDate;
     return culture;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Cultures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCultures(Culture culture)
 {
     base.AddObject("Cultures", culture);
 }