private void AddSqlQueries(HbmMapping mappingSchema)
        {
            NamedSQLQueryBinder binder = new NamedSQLQueryBinder(this);

            foreach (object item in mappingSchema.Items1 ?? new object[0])
            {
                HbmSqlQuery sqlQuerySchema = item as HbmSqlQuery;

                if (sqlQuerySchema != null)
                {
                    binder.AddSqlQuery(sqlQuerySchema);
                }
            }
        }
Esempio n. 2
0
        private void AddSqlQueries(HbmMapping mappingSchema)
        {
            var binder = new NamedSQLQueryBinder(Mappings);

            System.Array.ForEach(mappingSchema.SqlQueries, binder.AddSqlQuery);
        }
Esempio n. 3
0
        private void AddSqlQueries(HbmMapping mappingSchema)
        {
            NamedSQLQueryBinder binder = new NamedSQLQueryBinder(this);

            foreach (object item in mappingSchema.Items1 ?? new object[0])
            {
                HbmSqlQuery sqlQuerySchema = item as HbmSqlQuery;

                if (sqlQuerySchema != null)
                    binder.AddSqlQuery(sqlQuerySchema);
            }
        }
		private void AddSqlQueries(HbmMapping mappingSchema)
		{
			var binder = new NamedSQLQueryBinder(Mappings);
			System.Array.ForEach(mappingSchema.SqlQueries, binder.AddSqlQuery);
		}