EntitySet<TEntity>.Add(TEntity) EntitySet<TEntity>.Add(TEntity) EntitySet<TEntity>.Add(TEntity) EntitySet<TEntity>.Add(TEntity) Method

定义

添加实体。Adds an entity.

public:
 virtual void Add(TEntity entity);
public void Add (TEntity entity);
abstract member Add : 'Entity -> unit
override this.Add : 'Entity -> unit
Public Sub Add (entity As TEntity)

参数

entity
TEntity TEntity TEntity TEntity

要添加的实体。The entity to add.

实现

适用于