private sdk2 GetByWhereClause(Expression <Func <sdk2, bool> > whereClause)
        {
            var res = dbConnection.sdk2.Where(whereClause);

            try
            {
                sdk2 row = res.Single();
                return(row);
            }
            catch (Exception)
            {
                //Do nothing
            }
            return(null);
        }
        public int SaveSDK(string sdkName, string outputPath)
        {
            sdk2 dbSdk = new sdk2
            {
                name        = sdkName,
                output_path = outputPath
            };

            dbConnection.sdk2.Add(dbSdk);

            try
            {
                return(dbConnection.SaveChanges());
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
                Console.WriteLine("This probably happened because that SDK name already exists");
                Environment.Exit(1);
            }
            return(-1);
        }