public override void SetCollection(DataSourceCollectionBase collection) { base.SetCollection(collection); if (collection != null) { this.Owner = collection.CollectionHost; } else { this.Owner = null; } }
public virtual void SetCollection(DataSourceCollectionBase collection) { this.CollectionParent = collection; }