public System.Collections.Generic.IList<LePapeoGenNHibernate.EN.LePapeo.RestauranteEN> BuscarRestaurante (string p_cadena)
{
        /*PROTECTED REGION ID(LePapeoGenNHibernate.CP.LePapeo_Restaurante_buscarRestaurante) ENABLED START*/

        IRestauranteCAD restauranteCAD = null;
        RestauranteCEN restauranteCEN = null;

        System.Collections.Generic.IList<LePapeoGenNHibernate.EN.LePapeo.RestauranteEN>  result = null;


        try
        {
                SessionInitializeTransaction ();
                restauranteCAD = new RestauranteCAD (session);
                restauranteCEN = new  RestauranteCEN (restauranteCAD);




                return restauranteCAD.BuscarRestaurante (p_cadena);


                SessionCommit ();
        }
        catch (Exception ex)
        {
                SessionRollBack ();
                throw ex;
        }
        finally
        {
                SessionClose ();
        }
        return result;


        /*PROTECTED REGION END*/
}
 public RestauranteCEN(IRestauranteCAD _IRestauranteCAD)
 {
     this._IRestauranteCAD = _IRestauranteCAD;
 }
 public RestauranteCEN()
 {
     this._IRestauranteCAD = new RestauranteCAD();
 }