Beispiel #1
0
        /// <summary>
        /// Create a new TollingType object.
        /// </summary>
        /// <param name="typeId">Initial value of the TypeId property.</param>
        /// <param name="code">Initial value of the Code property.</param>
        public static TollingType CreateTollingType(global::System.Byte typeId, global::System.String code)
        {
            TollingType tollingType = new TollingType();

            tollingType.TypeId = typeId;
            tollingType.Code   = code;
            return(tollingType);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TollingTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTollingTypes(TollingType tollingType)
 {
     base.AddObject("TollingTypes", tollingType);
 }