Exemplo n.º 1
0
 public static Offset <LineItemKey> CreateLineItemKey(FlatBufferBuilder builder,
                                                      StringOffset prodCodeOffset = default(StringOffset),
                                                      int orderId = 0)
 {
     builder.StartObject(2);
     LineItemKey.AddOrderId(builder, orderId);
     LineItemKey.AddProdCode(builder, prodCodeOffset);
     return(LineItemKey.EndLineItemKey(builder));
 }
Exemplo n.º 2
0
 public static Offset <KdSoft.Lmdb.Tests.fbs.LineItemKey> CreateLineItemKey(FlatBufferBuilder builder,
                                                                            StringOffset prod_codeOffset = default(StringOffset),
                                                                            int order_id = 0)
 {
     builder.StartTable(2);
     LineItemKey.AddOrderId(builder, order_id);
     LineItemKey.AddProdCode(builder, prod_codeOffset);
     return(LineItemKey.EndLineItemKey(builder));
 }