Esempio n. 1
0
        /// <summary>
        /// Create a new Organisations object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        public static Organisations CreateOrganisations(global::System.Int32 id, global::System.String name)
        {
            Organisations organisations = new Organisations();

            organisations.Id   = id;
            organisations.Name = name;
            return(organisations);
        }
 /// <summary>
 /// Create a new Organisations object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Organisations CreateOrganisations(global::System.Int32 id, global::System.String name)
 {
     Organisations organisations = new Organisations();
     organisations.Id = id;
     organisations.Name = name;
     return organisations;
 }
Esempio n. 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Organisations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrganisations(Organisations organisations)
 {
     base.AddObject("Organisations", organisations);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Organisations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrganisations(Organisations organisations)
 {
     base.AddObject("Organisations", organisations);
 }