The EntitySpaces 2008 API Reference (Full)
Employees Class
EntitySpaces.CoreBusinessObjectsEmployees
Persistence Layer and Business Objects for Microsoft .NET
This is a test of the emergency broadcast system
Declaration Syntax
C#Visual Basic
[SerializableAttribute]
public class Employees : esEmployees
<SerializableAttribute> _
Public Class Employees _
	Inherits esEmployees
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
Employees()()()
Initializes a new instance of the Employees class

Employees(DataRow)
Initializes a new instance of the Employees class

AcceptChanges()()()
It is generally not necessary to call AcceptChanges. AcceptChanges will copy the current esEntity values to the original values and will set the RowState property to Unchanged. Do not call AcceptChanges before calling Save. AcceptChanges() is called internally by EntitySpaces after a successful call to Save() is completed. However, AcceptChanges has some very interesting capabilities.
(Inherited from esEntity.)
AddNew()()()
The esEntity class can represent only one record. AddNew() is called after instantiating a new esEntity in order to prepare it for an INSERT into the database. After calling AddNew() you can assign the data and save it to the database. The esEntity class works with one record at a time the esEntityCollection class has the ability to save many records in a single call to Save().
(Inherited from esEntity.)
Address
Maps to Employees.Address
(Inherited from esEmployees.)
ApplyPostOneSaveKeys()()()
Overridden in the generated class and used during the hierarchical save logic.
(Inherited from esEntity.)
ApplyPostSaveKeys()()()
Overridden in the generated class and used during the hierarchical save logic.
(Inherited from esEntity.)
ApplyPreSaveKeys()()()
Overridden in the generated class and used during the hierarchical save logic.
(Inherited from esEntity.)
BeginEdit()()()
See BeginEdit()()() in the .NET documentation for an explanation of this method
(Inherited from esEntity.)
BirthDate
Maps to Employees.BirthDate
(Inherited from esEmployees.)
CancelEdit()()()
See CancelEdit()()() in the .NET documentation for an explanation of this method
(Inherited from esEntity.)
City
Maps to Employees.City
(Inherited from esEmployees.)
ClearData()()()
Used internally by esEntityCollection to dispose of the table in a collection.
(Inherited from esEntityData.)
Collection
If the esEntity is part of a collection then this method retrieves the collection to which it belongs. Otherwise null or Nothing is returned.
(Inherited from esEntity.)
CommitPostOneSaves()()()
Called internally by EntitySpaces, derived classes generated in conjuction with the Hierarchical functionality implement this to Save nested sub-objects that need to be saved after the esEntity itself is saved.
(Inherited from esEntity.)
CommitPostSaves()()()
Called internally by EntitySpaces, derived classes generated in conjuction with the Hierarchical functionality implement this to Save nested sub-objects that need to be saved after the esEntity itself is saved.
(Inherited from esEntity.)
CommitPreSaves()()()
Called internally by EntitySpaces, derived classes generated in conjuction with the Hierarchical functionality implement this to Save nested sub-objects that need to be saved before the esEntity itself is saved.
(Inherited from esEntity.)
Country
Maps to Employees.Country
(Inherited from esEmployees.)
CreateRequest()()()
Called internally anytime the esEntity class is about to make a call to one of the EntitySpaces' DataProviders. This method wraps up most of the common logic required to make the actual call.
(Inherited from esEntity.)
CreateSchema()()()
Called during AddNew() by EntitySpaces to populate the entity's schema information. This populates the DataTable with its corresponding DataColumns without accessing the database, therefore AddNew() is safe to call on the client side of a webservice.
(Inherited from esEntity.)
EmployeeID
Maps to Employees.EmployeeID
(Inherited from esEmployees.)
EndEdit()()()
See EndEdit()()() in the .NET documentation for an explanation of this method
(Inherited from esEntity.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
es
The IEntity interface serves to semi-hide many of the base class functionality required by EntitySpaces. This serves two purposes, it keeps intellisense from getting polluted by noise and prevents the EntitySpaces "core" functionaltiy from colliding with your properties during code generation.
(Inherited from esEntity.)
ExecuteNonQuery(esQueryType, String)
ExecuteNonQuery does not return any data. This method can be used to execute any SQL statement that does not return any data. You cannot populate your esEntity with this method.
(Inherited from esEntity.)
ExecuteNonQuery(esQueryType, String, array<Object>[]()[])
ExecuteNonQuery does not return any data. This method can be used to execute any SQL statement that does not return any data. You cannot populate your esEntity with this method.
(Inherited from esEntity.)
ExecuteNonQuery(esQueryType, String, esParameters)
ExecuteNonQuery does not return any data. This method can be used to execute any SQL statement that does not return any data. You cannot populate your esEntity with this method.
(Inherited from esEntity.)
ExecuteNonQuery(String, String)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteNonQuery(String, String, array<Object>[]()[])
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteNonQuery(String, String, esParameters)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteReader(esQueryType, String)
Can be called by a method in your Custom esEntity or esEntityCollection. This does not populate your entity with data, for that see [!:esLoadData]
(Inherited from esEntity.)
ExecuteReader(esQueryType, String, array<Object>[]()[])
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteReader(esQueryType, String, esParameters)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteReader(String, String)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteReader(String, String, array<Object>[]()[])
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteReader(String, String, esParameters)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteScalar(esQueryType, String)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteScalar(esQueryType, String, array<Object>[]()[])
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteScalar(esQueryType, String, esParameters)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteScalar(String, String)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteScalar(String, String, array<Object>[]()[])
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
ExecuteScalar(String, String, esParameters)
Can be called by a method in your Custom entity. This does not populate your entity.
(Inherited from esEntity.)
Extension
Maps to Employees.Extension
(Inherited from esEmployees.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FirstName
This is the Employees 'First Name'
(Inherited from esEmployees.)
fks
This is used by the Hierarchical Code.
(Inherited from esEntity.)
GetColumn(String)
This is the typeless accessor into the underlying DataTable. This method should only be used for columns that do not have strongly typed properties. This is useful whenever you bring back extra columns by custom loading your entity.
(Inherited from esEntity.)
GetDynamicQuery()()() (Overrides esEmployees.GetDynamicQuery()()().)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetHierarchicalProperties()()()
Used internally for the hierarchical properties.
(Inherited from esEntity.)
GetLocalBindingProperties()()()
Used internally for binding.
(Inherited from esEntity.)
GetOriginalColumnValue(String)
This can be used to get the original value of a column before it was changed. This can also be used to get values of original columns after they have been deleted.
(Inherited from esEntity.)
GetOriginalColumnValue(String, DataRowVersion)
This can be used to get the original value of a column before it was changed. This can also be used to get values of original columns after they have been deleted.
(Inherited from esEntity.)
GetPostOneSave(String)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
GetPostSave(String)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
GetPreSave(String)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
GetSystemBoolean(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemBooleanRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemByte(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemByteArray(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemByteRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemChar(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemCharRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDateTime(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDateTimeOffset(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDateTimeOffsetRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDateTimeRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDecimal(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDecimalRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDouble(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemDoubleRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemGuid(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemGuidRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemInt16(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemInt16Required(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemInt32(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemInt32Required(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemInt64(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemInt64Required(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemObject(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemSByte(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemSByteRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemSingle(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemSingleRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemString(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemStringRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemTimeSpan(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemTimeSpanRequired(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemUInt16(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemUInt16Required(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemUInt32(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemUInt32Required(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemUInt64(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetSystemUInt64Required(String)
This is used internally to get type specific column values for a row.
(Inherited from esEntity.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HireDate
Maps to Employees.HireDate
(Inherited from esEmployees.)
HomePhone
Maps to Employees.HomePhone
(Inherited from esEmployees.)
InitQuery(esEmployeesQuery) (Inherited from esEmployees.)
LastName
This is the First Name property
(Inherited from esEmployees.)
Load(EmployeesQuery)
Used to custom load a Join query. Returns true if at least one row is loaded. For an entity, an exception will be thrown if more than one row is loaded.

Load(DataContext, IQueryable)
Allows you to use LinqToSql to load your Entity
(Inherited from esEntity.)
Load(esQueryType, String)
This can be called to custom load your esEntity class. The esQueryType provides a lot of flexibiliy allowing you load your esEntity in any way desired.
(Inherited from esEntity.)
Load(esQueryType, String, array<Object>[]()[])
This can be called to custom load your esEntity class. The esQueryType provides a lot of flexibiliy allowing you load your esEntity in any way desired.
(Inherited from esEntity.)
Load(esQueryType, String, esParameters)
This can be called to custom load your esEntity class. The esQueryType provides a lot of flexibiliy allowing you load your esEntity in any way desired.
(Inherited from esEntity.)
LoadByPrimaryKey(Int32) (Inherited from esEmployees.)
LoadByPrimaryKey(esSqlAccessType, Int32)
Loads an entity by primary key
(Inherited from esEmployees.)
MarkAllColumnsAsDirty(DataRowState)
Marks all columns in the DataRow for the entity as dirty.
(Inherited from esEntity.)
MarkAsDeleted()()()
Marks this specific record as deleted. Save still needs to be called to commit the changes to the database.
(Inherited from esEntity.)
MarkFieldAsModified(String)
Called by the Entity's "set" property accessor to mark the column as modified. The List of modified columns is sent to the DataProvider via the [!:EntityDataPacket]
(Inherited from esEntity.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Meta (Overrides esEntity.Meta.)
modifiedColumns
Whenever a column is truly changed its name (physical database column name) is added to this list. This is used internally by the DynamicSql Save method to ensure only the columns that were modified are actually updated. When stored procedures are used all columns are updated whether they have changed or not.
(Inherited from esEntity.)
Notes
Maps to Employees.Notes
(Inherited from esEmployees.)
OnPropertyChanged(String) (Inherited from esEmployees.)
OnQueryLoaded(DataTable) (Inherited from esEmployees.)
OnValidateDelegate
Used to provide validation.
(Inherited from esEntity.)
Photo
Maps to Employees.Photo
(Inherited from esEmployees.)
PhotoPath
Maps to Employees.PhotoPath
(Inherited from esEmployees.)
PopulateEntity(DataTable)
Called internally to bind the esEntity to its respective DataRow.
(Inherited from esEntity.)
PostalCode
Maps to Employees.PostalCode
(Inherited from esEmployees.)
PropertyChanged (Inherited from esEmployees.)
Query
This represents the Query on the class.

QueryReset()()()
Useful for building up conditional queries. In most cases, before loading an entity or collection, you should instantiate a new one. This method was added to handle specialized circumstances, and should not be used as a substitute for that.

Region
Maps to Employees.Region
(Inherited from esEmployees.)
RejectChanges()()()
RejectChanges does just the opposite of AcceptChanges()()(). That is, RejectChanges moves the original values back into the current values, it's as if nothing was ever changed.
(Inherited from esEntity.)
RemovePostOneSave(String)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
RemovePostSave(String)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
RemovePreSave(String)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
ReportsTo
Maps to Employees.ReportsTo
(Inherited from esEmployees.)
Row
Used internally by esEntity and esEntityCollection. An esEntityCollection never uses the Row property, however an esEntity always has a valid Row property after it has been successfully loaded with data.
(Inherited from esEntityData.)
RowCount
Used internally by esEntityCollection to retrieve the number of records in a collection.
(Inherited from esEntityData.)
Save()()()
Saves the entity.
(Inherited from esEntity.)
Save(esSqlAccessType)
Saves the entity using the specified SqlAccessType. This method is only used when you need to override the value set in your config file which would be rare.
(Inherited from esEntity.)
SaveToProvider(esSqlAccessType)
This method calls esSaveDataTable on the EntitySpaces DataProvider to physically save the data.
(Inherited from esEntity.)
SetColumn(String, Object)
This is the typeless version. This method should only be used for columns that do not have strongly typed properties. This is useful whenever you bring back extra columns by custom loading your entity.
(Inherited from esEntity.)
SetPostOneSave(String, esEntity)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
SetPostSave(String, esEntityCollection)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
SetPreSave(String, esEntity)
Called internally by EntitySpaces as part of the Hierarchical logic.
(Inherited from esEntity.)
SetProperties(IDictionary) (Inherited from esEmployees.)
SetProperty(String, Object) (Inherited from esEmployees.)
SetSystemBoolean(String, Nullable<(Of <(Boolean>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemByte(String, Nullable<(Of <(Byte>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemByteArray(String, array<Byte>[]()[])
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemChar(String, Nullable<(Of <(Char>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemDateTime(String, Nullable<(Of <(DateTime>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemDateTimeOffset(String, Nullable<(Of <(DateTimeOffset>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemDecimal(String, Nullable<(Of <(Decimal>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemDouble(String, Nullable<(Of <(Double>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemGuid(String, Nullable<(Of <(Guid>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemInt16(String, Nullable<(Of <(Int16>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemInt32(String, Nullable<(Of <(Int32>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemInt64(String, Nullable<(Of <(Int64>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemObject(String, Object)
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemSByte(String, Nullable<(Of <(SByte>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemSingle(String, Nullable<(Of <(Single>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemString(String, String)
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemTimeSpan(String, Nullable<(Of <(TimeSpan>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemUInt16(String, Nullable<(Of <(UInt16>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemUInt32(String, Nullable<(Of <(UInt32>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SetSystemUInt64(String, Nullable<(Of <(UInt64>)>))
This is used internally to set type specific column values for a row.
(Inherited from esEntity.)
SpecialBinder
This can be used for data binding to fields not in your strongly typed esEntity class.
(Inherited from esEntity.)
str
Converts an entity's properties to and from strings.
(Inherited from esEmployees.)
Table
Used internally by esEntity and esEntityCollection. An esEntityCollection always has a valid Table property after successfully loading data. When an esEntity exists outside of an esEntityCollection the esEntity also has a valid Table property, however, when an esEntity is contained in an esEntityCollection the Table property will be null or Nothing.
(Inherited from esEntityData.)
Title
Maps to Employees.Title
(Inherited from esEmployees.)
TitleOfCourtesy
Maps to Employees.TitleOfCourtesy
(Inherited from esEmployees.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Validate(String, esEntity, esColumnMetadata)
Overridden in the generated classes to provide validation.
(Inherited from esEntity.)
Inheritance Hierarchy

Assembly: BusinessObjects (Module: BusinessObjects) Version: 2008.1.811.0 (2008.1.0811.0)