Exemple #1
0
        public static ValueTuple <StructMasterEntity?, StructSlaveEntity?> MapValueNullable()
        {
            var master = new StructMasterEntity();

            master.Id = 0;
            var slave = new StructSlaveEntity();

            slave.Id = 0;
            return(new ValueTuple <StructMasterEntity, StructSlaveEntity>(master, slave));
        }
Exemple #2
0
        public static Tuple <StructMasterEntity, StructSlaveEntity> Map()
        {
            var master = new StructMasterEntity();

            master.Id = 0;
            var slave = new StructSlaveEntity();

            slave.Id = 0;
            return(new Tuple <StructMasterEntity, StructSlaveEntity>(master, slave));
        }