Example #1
0
        /// <summary>
        /// Create a new rank object.
        /// </summary>
        /// <param name="rank_id">Initial value of the rank_id property.</param>
        public static rank Createrank(global::System.Int32 rank_id)
        {
            rank rank = new rank();

            rank.rank_id = rank_id;
            return(rank);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ranks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToranks(rank rank)
 {
     base.AddObject("ranks", rank);
 }