Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     using (WorkflowContext db = WorkflowContext.CreateInstance("Server=.;Database=Workflow;User Id=sa;Password='******';Integrated Security=true; Trusted_Connection=True;"))
     {
         var a = db.Workflow;
         Console.WriteLine(a.Count());
         Console.ReadLine();
     }
 }