/// <summary> /// Deprecated Method for adding a new object to the Extensions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExtensions(Extension extension) { base.AddObject("Extensions", extension); }
/// <summary> /// Create a new Extension object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static Extension CreateExtension(global::System.Int64 id, global::System.String name) { Extension extension = new Extension(); extension.Id = id; extension.Name = name; return extension; }