/// <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); }
/// <summary> /// Deprecated Method for adding a new object to the TollingTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTollingTypes(TollingType tollingType) { base.AddObject("TollingTypes", tollingType); }