Class TableAdapterManager
TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
TableAdapterManager
Implements
System.ComponentModel.IComponent
System.IDisposable
Inherited Members
System.ComponentModel.Component.Dispose()
System.ComponentModel.Component.Dispose(System.Boolean)
System.ComponentModel.Component.GetService(System.Type)
System.ComponentModel.Component.ToString()
System.ComponentModel.Component.CanRaiseEvents
System.ComponentModel.Component.Events
System.ComponentModel.Component.Site
System.ComponentModel.Component.Container
System.ComponentModel.Component.DesignMode
System.ComponentModel.Component.Disposed
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.CreateObjRef(System.Type)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Votations.NSurvey.Data.SurveyAssetDataTableAdapters
Assembly: SurveyProject.BusinessEntities.dll
Syntax
public class TableAdapterManager : Component, IComponent, IDisposable
Properties
BackupDataSetBeforeUpdate
Declaration
public bool BackupDataSetBeforeUpdate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Connection
Declaration
[Browsable(false)]
public IDbConnection Connection { get; set; }
Property Value
Type | Description |
---|---|
System.Data.IDbConnection |
SurveyAssetDataTableAdapter
Declaration
public SurveyAssetDataTableAdapter SurveyAssetDataTableAdapter { get; set; }
Property Value
Type | Description |
---|---|
SurveyAssetDataTableAdapter |
TableAdapterInstanceCount
Declaration
[Browsable(false)]
public int TableAdapterInstanceCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
UpdateOrder
Declaration
public TableAdapterManager.UpdateOrderOption UpdateOrder { get; set; }
Property Value
Type | Description |
---|---|
TableAdapterManager.UpdateOrderOption |
Methods
MatchTableAdapterConnection(IDbConnection)
Declaration
protected virtual bool MatchTableAdapterConnection(IDbConnection inputConnection)
Parameters
Type | Name | Description |
---|---|---|
System.Data.IDbConnection | inputConnection |
Returns
Type | Description |
---|---|
System.Boolean |
SortSelfReferenceRows(DataRow[], DataRelation, Boolean)
Declaration
protected virtual void SortSelfReferenceRows(DataRow[] rows, DataRelation relation, bool childFirst)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | rows | |
System.Data.DataRelation | relation | |
System.Boolean | childFirst |
UpdateAll(SurveyAssetData)
Update all changes to the dataset.
Declaration
public virtual int UpdateAll(SurveyAssetData dataSet)
Parameters
Type | Name | Description |
---|---|---|
SurveyAssetData | dataSet |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.ComponentModel.IComponent
System.IDisposable