Accounts Class

User Accounts for the application

Definition

Namespace: MbcsCentral
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public class Accounts : clsDB, INotifyPropertyChanged
Inheritance
Object    clsDB    Accounts
Implements
INotifyPropertyChanged

Constructors

Accounts 
AccountsInitializes a new instance of the Accounts class
Accounts(String, String, String, String, String, String, SqlConnection)Initializes a new instance of the Accounts class
Accounts(String, Int32, Int32, String, String, String, String, String, String, String, String, Int32, Boolean, String, Int32, Int64)Initializes a new instance of the Accounts class

Properties

accountId 
accountType 
clientId 
ColumnCount Reports column count
(Inherited from clsDB)
email 
ErrorMessage Used to retrieve internal error messages
(Inherited from clsDB)
firstName 
ip 
IsChanged Has record been modified?
IsDupe Set true when a duplicate record is found on insertion
(Inherited from clsDB)
Item Generic method for getting values of property by names. Useful when iterating through columns in a record
(Inherited from clsDB)
lastName 
login 
mobilePhone 
Name 
outlookFolder 
parentAccount 
password 
permissions 
phone 
port 
sms 
useOutlook 

Methods

delete Deletes an account and all group and permission ties
delete(String) Delete record
(Inherited from clsDB)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
fill Populates Application Accounts Properties from the database
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetColumn Finds if specified Column name is in table. Datarows must have already been fetched.
(Inherited from clsDB)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTableSchema Gets a table schema
(Inherited from clsDB)
GetTypeGets the Type of the current instance.
(Inherited from Object)
hasAdminPermission 
hasManagerPermission 
hasUserPermission 
hasViewPermission 
insertRecord Inserts a new record using instantiated Insert statement
(Inherited from clsDB)
load Load all Accounts from database
load(Int64) Load by Primary Key
load(String) Load the Account object for a specified user account
load(String, String, Boolean) Retrieve records from a table using the passes SQL string
(Inherited from clsDB)
loadAll Retrieve all records in a table
(Inherited from clsDB)
loadByClientId Load all Accounts for a specified Client ID
loadByPrimaryKey Load a record by Primary Key
(Inherited from clsDB)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnPropertyChanged 
query Execute custom query. Used mainly for special deletion scenarios
(Inherited from clsDB)
queryWithCount Custome query for getting record counts
(Inherited from clsDB)
save 
ToStringReturns a string that represents the current object.
(Inherited from Object)
updateRecord Updates records using update statement passed with child class instantiation
(Inherited from clsDB)
updateRecordSpecial Updates records using passed update statement
(Inherited from clsDB)

Events

Fields

See Also