aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphX/IGraphComponent.cs
blob: 4b72c35a2aa593efd24a39952ce1b4214f048142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RealTimeGraphX
{
    /// <summary>
    /// Represents a RealTimeGraphX component.
    /// </summary>
    public interface IGraphComponent
    {

    }
}
> /// <seealso cref="System.Data.Entity.DbContext" /> public partial class LocalDB : DbContext { /// <summary> /// Initializes a new instance of the <see cref="LocalDB"/> class. /// </summary> /// <param name="filePath">The file path.</param> public LocalDB(String filePath) : base(ComposeConnectionString(filePath)) { } /// <summary> /// Composes the connection string. /// </summary> /// <param name="filePath">The file path.</param> /// <returns></returns> private static String ComposeConnectionString(String filePath) { return String.Format("metadata=res://*/DB.LocalADO.csdl|res://*/DB.LocalADO.ssdl|res://*/DB.LocalADO.msl;provider=System.Data.SQLite.EF6;provider connection string=\"data source={0}\"", filePath); } } }