Ejemplo n.º 1
0
        public static void Load_ProductMap_Table()
        {
            try
            {
                SmartMap_DomainContext context = new SmartMap_DomainContext();
                LoadOperation<ProductMap> loadOp = context.Load<ProductMap>(context.GetProductMapsQuery(), ProductMapTable_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\load_productmaptable1_error.txt", msg);
            }
        }