Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Languages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLanguages(Languages languages)
 {
     base.AddObject("Languages", languages);
 }
Пример #2
0
 /// <summary>
 /// Create a new Languages object.
 /// </summary>
 /// <param name="languageId">Initial value of the LanguageId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 public static Languages CreateLanguages(global::System.Int32 languageId, global::System.String name, global::System.String code)
 {
     Languages languages = new Languages();
     languages.LanguageId = languageId;
     languages.Name = name;
     languages.Code = code;
     return languages;
 }