共用方式為


DbPropertyValues.Clone 方法

定義

建立新的字典,其中包含這個字典中所有屬性的複本。 對新的字典所做的變更將不會反映在這個字典中,反之亦然。

public System.Data.Entity.Infrastructure.DbPropertyValues Clone ();
member this.Clone : unit -> System.Data.Entity.Infrastructure.DbPropertyValues
Public Function Clone () As DbPropertyValues

傳回

這個字典的複本。

適用於