You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
822 B
24 lines
822 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Cloud_Manager.Models.Interfaces
|
|
{
|
|
public interface IConnectionService
|
|
{
|
|
/// <summary>
|
|
/// Prepares and returns the connection string for a client using the specified database id
|
|
/// </summary>
|
|
/// <param name="a_databaseId">Specified database id to use</param>
|
|
/// <returns></returns>
|
|
string GetClientConnectionString(int a_databaseId);
|
|
/// <summary>
|
|
/// Prepare the DB context from the specified connection string
|
|
/// </summary>
|
|
/// <param name="a_connectionString"></param>
|
|
/// <returns>A configured BiskAcdbContext</returns>
|
|
object PrepareDBContext(string a_connectionString);
|
|
}
|
|
}
|
|
|