Beispiel #1
0
        public static void Load_CD_DataRange()
        {
            try
            {
                CD_DomainContext context = new CD_DomainContext();
                LoadOperation<CDDataRange> loadOp = context.Load(context.GetDataRangeQuery(), CD_DataRange_Loaded, null);
            }
            catch (Exception ex)
            {


                string msg = ex.Message;
                if (ex.InnerException != null)
                    msg += ("Inner: \n" + ex.InnerException.Message);
                System.IO.File.WriteAllText(@"C:\inetpub\wwwroot\snfgis\loadcd_datarange1_error.txt", msg);
            }
        }