Exemplo n.º 1
0
        private void MDF()
        {
            FileInfo fi = new FileInfo(textBoxFile6.Text);

            if (!fi.Exists)
            {
                richTextBoxStatus.Text = "File [" + fi.FullName + "] does not exist.\r\n";
                return;
            }

            using (MDF mdf = new MDF(fi))
            {
                mdf.CSSPDHIChanged += CSSPDHIChanged;
                mdf.ReadFile();
                mdf.CSSPDHIChanged -= CSSPDHIChanged;
            }
        }
Exemplo n.º 2
0
 private static void ModelDefinedFunction()
 {
     BookEntities ctx   = new BookEntities();
     var          query = from f in ctx.Films
                          select new { FullName = MDF.LongFilmDescription(f) };
 }