コード例 #1
0
 /// <summary>
 /// Initializes a new instance of <see cref="EntityTypeConfiguration"/>.
 /// </summary>
 /// <param name="modelBuilder">The <see cref="ODataModelBuilder"/> being used.</param>
 internal EntityTypeConfiguration(ODataModelBuilder modelBuilder)
     : this(modelBuilder, new EntityTypeConfiguration(modelBuilder, typeof(TEntityType)))
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EntityTypeConfiguration"/> class.
 /// </summary>
 /// <param name="modelBuilder">The <see cref="ODataModelBuilder"/> being used.</param>
 /// <param name="clrType">The backing CLR type for this entity type.</param>
 public EntityTypeConfiguration(ODataModelBuilder modelBuilder, Type clrType)
     : base(modelBuilder, clrType)
 {
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of <see cref="OperationConfiguration" /> class.
 /// </summary>
 /// <param name="builder">The ODataModelBuilder to which this OperationConfiguration should be added.</param>
 /// <param name="name">The name of this OperationConfiguration.</param>
 internal OperationConfiguration(ODataModelBuilder builder, string name)
 {
     this.Name         = name;
     this.ModelBuilder = builder;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComplexTypeConfiguration"/> class.
 /// <param name="modelBuilder">The <see cref="ODataModelBuilder"/> being used.</param>
 /// <param name="clrType">The backing CLR type for this entity type.</param>
 /// </summary>
 public ComplexTypeConfiguration(ODataModelBuilder modelBuilder, Type clrType)
     : base(modelBuilder, clrType)
 {
 }