Beispiel #1
0
 /// <summary>
 /// Base contructor for all catalog ajax type classes
 /// </summary>
 /// <param name="type">The type of the entity</param>
 /// <param name="catalogDao">The Catalog dao object</param>
 public Catalog(Type type, ICatalogDAO catalogDao) : this(type, "entity", catalogDao)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Base contructor for all Catalog ajax type classes.
 /// </summary>
 /// <param name="type">The type of the entity</param>
 /// <param name="paramName">The request param name that will contain the entity info</param>
 /// <param name="catalogDao">The Catalog dao object</param>
 public Catalog(Type type, string paramName, ICatalogDAO catalogDao)
 {
     this.type       = type;
     this.paramName  = paramName;
     this.catalogDao = catalogDao;
 }