Exemplo n.º 1
0
        static void Main(string[] args)
        {
            //PolicyID, PolicyID|Unit_num, Unit_num
            string s = "State,State|County,County";
            string[] arr = s.Split("|".ToCharArray());

            EzLookupPackage pkg = new EzLookupPackage(".\\SQL2008R2", "Random", ".\\SQL2008R2", "Random", "dbo.MercalliUpdate",arr);

            pkg.SaveToFile(@"C:\Temp\TestLookupPackage.dtsx");
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            //PolicyID, PolicyID|Unit_num, Unit_num
            string s = "State,State|County,County";

            string[] arr = s.Split("|".ToCharArray());

            EzLookupPackage pkg = new EzLookupPackage(".\\SQL2008R2", "Random", ".\\SQL2008R2", "Random", "dbo.MercalliUpdate", arr);

            pkg.SaveToFile(@"C:\Temp\TestLookupPackage.dtsx");
        }