Exemplo n.º 1
0
 /// <summary>
 /// Create a new Character object.
 /// </summary>
 /// <param name="awakened">Initial value of the Awakened property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="gender">Initial value of the Gender property.</param>
 /// <param name="height">Initial value of the Height property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="metatype">Initial value of the Metatype property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="weight">Initial value of the Weight property.</param>
 public static Character CreateCharacter(global::System.Int32 awakened, global::System.String description, global::System.Int32 gender, global::System.Int32 height, global::System.Int32 id, global::System.Int32 metatype, global::System.String name, global::System.String password, global::System.String title, global::System.Int32 weight)
 {
     Character character = new Character();
     character.Awakened = awakened;
     character.Description = description;
     character.Gender = gender;
     character.Height = height;
     character.Id = id;
     character.Metatype = metatype;
     character.Name = name;
     character.Password = password;
     character.Title = title;
     character.Weight = weight;
     return character;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Characters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCharacters(Character character)
 {
     base.AddObject("Characters", character);
 }