示例#1
0
 public override DatabaseSchema GetSchema(DataConnection dataConnection, GetSchemaOptions options = null)
 {
     HanaSchemaOptions             = options as GetHanaSchemaOptions;
     DefaultSchema                 = dataConnection.Execute <string>("SELECT CURRENT_SCHEMA FROM DUMMY");
     HaveAccessForCalculationViews = CheckAccessForCalculationViews(dataConnection);
     return(base.GetSchema(dataConnection, options));
 }
		public override DatabaseSchema GetSchema(DataConnection dataConnection, GetSchemaOptions options = null)
		{
			HanaSchemaOptions = options as GetHanaSchemaOptions;
			DefaultSchema = dataConnection.Execute<string>("SELECT CURRENT_SCHEMA FROM DUMMY");
			HaveAccessForCalculationViews = CheckAccessForCalculationViews(dataConnection);
			return base.GetSchema(dataConnection, options);
		}