EntityCollection<TEntity> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the EntityCollection<TEntity> class.
public:
EntityCollection();
public EntityCollection ();
Public Sub New ()
Remarks
This public constructor for EntityCollection<TEntity> is intended to be used by Object Services when deserializing object graphs. You should access an instance of EntityCollection<TEntity> from a navigation property instead of using this constructor.
To store an unrelated collection of objects of a specific entity type, such as the result of an ObjectQuery<T>, use an instance of List<T>.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για