Beispiel #1
0
        /// <summary>
        /// Create a new aspnet_Countries object.
        /// </summary>
        /// <param name="countryId">Initial value of the CountryId property.</param>
        /// <param name="countryName">Initial value of the CountryName property.</param>
        public static aspnet_Countries Createaspnet_Countries(global::System.Int32 countryId, global::System.String countryName)
        {
            aspnet_Countries aspnet_Countries = new aspnet_Countries();

            aspnet_Countries.CountryId   = countryId;
            aspnet_Countries.CountryName = countryName;
            return(aspnet_Countries);
        }
 /// <summary>
 /// Create a new aspnet_Countries object.
 /// </summary>
 /// <param name="countryId">Initial value of the CountryId property.</param>
 /// <param name="countryName">Initial value of the CountryName property.</param>
 public static aspnet_Countries Createaspnet_Countries(global::System.Int32 countryId, global::System.String countryName)
 {
     aspnet_Countries aspnet_Countries = new aspnet_Countries();
     aspnet_Countries.CountryId = countryId;
     aspnet_Countries.CountryName = countryName;
     return aspnet_Countries;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_Countries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_Countries(aspnet_Countries aspnet_Countries)
 {
     base.AddObject("aspnet_Countries", aspnet_Countries);
 }
Beispiel #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_Countries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_Countries(aspnet_Countries aspnet_Countries)
 {
     base.AddObject("aspnet_Countries", aspnet_Countries);
 }