Beispiel #1
0
        /// <summary>
        /// Create a new countrylanguage object.
        /// </summary>
        /// <param name="countryCode">Initial value of the CountryCode property.</param>
        /// <param name="isOfficial">Initial value of the IsOfficial property.</param>
        /// <param name="language">Initial value of the Language property.</param>
        /// <param name="percentage">Initial value of the Percentage property.</param>
        public static countrylanguage Createcountrylanguage(global::System.String countryCode, global::System.String isOfficial, global::System.String language, global::System.Single percentage)
        {
            countrylanguage countrylanguage = new countrylanguage();

            countrylanguage.CountryCode = countryCode;
            countrylanguage.IsOfficial  = isOfficial;
            countrylanguage.Language    = language;
            countrylanguage.Percentage  = percentage;
            return(countrylanguage);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the countrylanguages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocountrylanguages(countrylanguage countrylanguage)
 {
     base.AddObject("countrylanguages", countrylanguage);
 }