コード例 #1
0
 /// <summary>
 /// Adds a TypeMapping to the TypeMappings property.
 /// An exception is thrown if there is already a TypeMapping with the same Type configured.
 /// </summary>
 /// <param name="typeMapping"></param>
 public void AddMapping(TypeMapping typeMapping)
 {
     TypeMappings.Add(typeMapping.Type, typeMapping);
 }