ChangeConflictCollection.ResolveAll 方法
定义
解析集合中的所有冲突。Resolves all conflicts in the collection.
重载
| ResolveAll(RefreshMode) |
通过使用指定策略解析集合中的所有冲突。Resolves all conflicts in the collection by using the specified strategy. |
| ResolveAll(RefreshMode, Boolean) |
通过使用指定策略解析集合中的所有冲突。Resolves all conflicts in the collection by using the specified strategy. |
ResolveAll(RefreshMode)
通过使用指定策略解析集合中的所有冲突。Resolves all conflicts in the collection by using the specified strategy.
public:
void ResolveAll(System::Data::Linq::RefreshMode mode);
public void ResolveAll (System.Data.Linq.RefreshMode mode);
member this.ResolveAll : System.Data.Linq.RefreshMode -> unit
Public Sub ResolveAll (mode As RefreshMode)
参数
- mode
- RefreshMode
RefreshMode 中可用的选项之一。One of the options available in RefreshMode.
适用于
ResolveAll(RefreshMode, Boolean)
通过使用指定策略解析集合中的所有冲突。Resolves all conflicts in the collection by using the specified strategy.
public:
void ResolveAll(System::Data::Linq::RefreshMode mode, bool autoResolveDeletes);
public void ResolveAll (System.Data.Linq.RefreshMode mode, bool autoResolveDeletes);
member this.ResolveAll : System.Data.Linq.RefreshMode * bool -> unit
Public Sub ResolveAll (mode As RefreshMode, autoResolveDeletes As Boolean)
参数
- mode
- RefreshMode
用于解决冲突的策略。The strategy to use to resolve the conflict.
- autoResolveDeletes
- Boolean
如果为 true,则自动解析由数据库中不再存在的已修改对象产生的冲突。If true, automatically resolves conflicts that result from a modified object that is no longer in the database.