mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add operations for database version 2.
This commit is contained in:
19
Cicm.Database/IDbCore.cs
Normal file
19
Cicm.Database/IDbCore.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Data;
|
||||
|
||||
namespace Cicm.Database
|
||||
{
|
||||
public interface IDbCore
|
||||
{
|
||||
Operations Operations { get; }
|
||||
|
||||
long LastInsertRowId { get; }
|
||||
|
||||
bool OpenDb(string server, string user, string database, string password, ushort port);
|
||||
|
||||
void CloseDb();
|
||||
|
||||
bool CreateDb(string database, string server, string user, string password, ushort port);
|
||||
|
||||
IDbDataAdapter GetNewDataAdapter();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user