Ejemplo n.º 1
0
 /// <summary>
 /// Gets the column as strong typed collection
 /// </summary>
 /// <typeparam name="T">Column element type</typeparam>
 /// <param name="schemaElement">Column schema</param>
 /// <returns>Strong typed collection</returns>
 public IReadOnlyCollection <T> GetColumn <T>(SchemaElement schemaElement)
 {
     return((List <T>)GetColumn(schemaElement));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SchemaElement"/> class.
 /// </summary>
 /// <param name="name">Column name</param>
 /// <param name="parent">Parent schema element</param>
 public SchemaElement(string name, SchemaElement parent = null) : base(name, typeof(T), parent)
 {
 }