internal virtual void SetNames(string name) { r0.SetName("0" + name); r1.SetName("1" + name); r2.SetName("2" + name); r3.SetName("3" + name); r4.SetName("4" + name); }
private void ModifyR4(ITestableReplicationProviderInside provider) { object commitObject = null; IEnumerator it = provider.GetStoredObjects(typeof(R4)).GetEnumerator(); while (it.MoveNext()) { R4 r4 = (R4)it.Current; r4.SetName(r4.GetName() + "_"); provider.Update(r4); commitObject = r4; } provider.Commit(); }