예제 #1
0
 /// <summary>
 /// Creates a function with a type of the returned result and a template.
 /// </summary>
 /// <param name="type"></param>
 /// <param name="template"></param>
 public SQLFunctionTemplate(DbType type, String template)
 {
     _type     = type;
     _renderer = new TemplateRenderer(template);
 }
예제 #2
0
 /// <summary>
 /// Creates a function with a type of the returned result and a template.
 /// </summary>
 /// <param name="type"></param>
 /// <param name="template"></param>
 public SQLFunctionTemplate(DbType type, String template)
 {
     _type = type;
     _renderer = new TemplateRenderer(template);
 }