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; } }
private static void ModelDefinedFunction() { BookEntities ctx = new BookEntities(); var query = from f in ctx.Films select new { FullName = MDF.LongFilmDescription(f) }; }