public class UserConfigContext : DbContext
Public Class UserConfigContext
Inherits DbContext
public ref class UserConfigContext : public DbContext
type UserConfigContext =
class
inherit DbContext
end
UserConfigContext | Initializes a new instance of the UserConfigContext class |
UserConfigContext(String) | Initializes a new instance of the UserConfigContext class |
AssistantModelConfigs | |
Assistants | |
ChangeTracker |
Provides access to information and operations for entity instances this context is tracking.
(Inherited from DbContext) |
ContextId |
A unique identifier for the context instance and pool lease, if any.
(Inherited from DbContext) |
Database |
Provides access to database related information and operations for this context.
(Inherited from DbContext) |
DbPath | |
MCPAgents | |
MCPServers | |
Messages | |
Model |
The metadata about the shape of entities, the relationships between them, and how they map to the database.
May not include all the information necessary to initialize the database.
(Inherited from DbContext) |
Models | |
ReferenceEntities | |
Sessions | |
UserConfig |
Add(Object) |
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the Added state such that they will
be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
Add``1(UMP) |
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the Added state such that
they will be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
AddAsync(Object, CancellationToken) |
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the Added state such that they will
be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
AddAsync``1(UMP, CancellationToken) |
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the Added state such that they will
be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
AddRange(IEnumerableObject) |
Begins tracking the given entities, and any other reachable entities that are
not already being tracked, in the Added state such that they will
be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
AddRange(Object) |
Begins tracking the given entities, and any other reachable entities that are
not already being tracked, in the Added state such that they will
be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
AddRangeAsync(Object) |
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the Added state such that they will
be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
AddRangeAsync(IEnumerableObject, CancellationToken) |
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the Added state such that they will
be inserted into the database when SaveChanges is called.
(Inherited from DbContext) |
Attach(Object) |
Begins tracking the given entity and entries reachable from the given entity using
the Unchanged state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
Attach``1(UMP) |
Begins tracking the given entity and entries reachable from the given entity using
the Unchanged state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
AttachRange(IEnumerableObject) |
Begins tracking the given entities and entries reachable from the given entities using
the Unchanged state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
AttachRange(Object) |
Begins tracking the given entities and entries reachable from the given entities using
the Unchanged state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
ConfigureConventions |
Override this method to set defaults and configure conventions before they run. This method is invoked before
OnModelCreating(ModelBuilder).
(Inherited from DbContext) |
Dispose |
Releases the allocated resources for this context.
(Inherited from DbContext) |
DisposeAsync |
Releases the allocated resources for this context.
(Inherited from DbContext) |
Entry(Object) |
Gets an EntityEntry for the given entity. The entry provides
access to change tracking information and operations for the entity.
(Inherited from DbContext) |
Entry``1(UMP) |
Gets an EntityEntry for the given entity. The entry provides
access to change tracking information and operations for the entity.
(Inherited from DbContext) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Find(Type, Object) |
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
(Inherited from DbContext) |
Find``1(Object) |
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
(Inherited from DbContext) |
FindAsync(Type, Object) |
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
(Inherited from DbContext) |
FindAsync(Type, Object, CancellationToken) |
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
(Inherited from DbContext) |
FindAsync``1(Object) |
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
(Inherited from DbContext) |
FindAsync``1(Object, CancellationToken) |
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
(Inherited from DbContext) |
FromExpression``1 |
Creates a queryable for given query expression.
(Inherited from DbContext) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
OnConfiguring | (Overrides DbContext.OnConfiguring(DbContextOptionsBuilder)) |
OnModelCreating | (Overrides DbContext.OnModelCreating(ModelBuilder)) |
Remove(Object) |
Begins tracking the given entity in the Deleted state such that it will
be removed from the database when SaveChanges is called.
(Inherited from DbContext) |
Remove``1(UMP) |
Begins tracking the given entity in the Deleted state such that it will
be removed from the database when SaveChanges is called.
(Inherited from DbContext) |
RemoveRange(IEnumerableObject) |
Begins tracking the given entity in the Deleted state such that it will
be removed from the database when SaveChanges is called.
(Inherited from DbContext) |
RemoveRange(Object) |
Begins tracking the given entity in the Deleted state such that it will
be removed from the database when SaveChanges is called.
(Inherited from DbContext) |
SaveChanges |
Saves all changes made in this context to the database.
(Inherited from DbContext) |
SaveChanges(Boolean) |
Saves all changes made in this context to the database.
(Inherited from DbContext) |
SaveChangesAsync(CancellationToken) |
Saves all changes made in this context to the database.
(Inherited from DbContext) |
SaveChangesAsync(Boolean, CancellationToken) |
Saves all changes made in this context to the database.
(Inherited from DbContext) |
Set``1 |
Creates a DbSet that can be used to query and save instances of TEntity.
(Inherited from DbContext) |
Set``1(String) |
Creates a DbSet for a shared-type entity type that can be used to query and save
instances of TEntity.
(Inherited from DbContext) |
Update(Object) |
Begins tracking the given entity and entries reachable from the given entity using
the Modified state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
Update``1(UMP) |
Begins tracking the given entity and entries reachable from the given entity using
the Modified state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
UpdateRange(IEnumerableObject) |
Begins tracking the given entities and entries reachable from the given entities using
the Modified state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
UpdateRange(Object) |
Begins tracking the given entities and entries reachable from the given entities using
the Modified state by default, but see below for cases
when a different state will be used.
(Inherited from DbContext) |
SaveChangesFailed |
An event fired if a call to {0} Overload or {0} Overload fails with an exception.
(Inherited from DbContext) |
SavedChanges |
An event fired at the end of a call to {0} Overload or {0} Overload (Inherited from DbContext) |
SavingChanges |
An event fired at the beginning of a call to {0} Overload or {0} Overload (Inherited from DbContext) |