Ejemplo n.º 1
0
        private void AddPrimaryKey(string pkTypeName, DataSet <ModelMapper.PrimaryKeyEntry> entries, string keyTypeName, string refTypeName)
        {
            var document = ModelMapper.AddPrimaryKey(pkTypeName, entries, keyTypeName, refTypeName);

            TryApplyChanges(document);
            NavigatableMarker = ModelMapper.CreateNavigatableMarker(ModelMapper.NodeKind.PrimaryKey, ModelMapper.ModelType, pkTypeName);
        }