using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Settings;
namespace Tango.Integration.Observables
{
public partial class ObservablesContext : DbContext
{
///
/// Initializes a new instance of the class.
///
/// The server file path.
/// if set to true will try to connect to an .mdf file.
public ObservablesContext(String path, bool isFile) : base(ComposeConnectionString(path, isFile))
{
}
@foreach (var prop in Model.Properties)
{
///
/// Gets or sets the @(prop.Name).
///
public @(prop.Type) @(prop.Name) { get; set; }
}
}
}