Hi @ali.mousavizadeh
Thanks for your question!
Yes you can still use your DCNM licenses into NDFC when you migrate it.
Please follow the link for more information in regards to licensing from DCNM to NDFC migration.
https://www.cisco.com/c/en/us/products/collateral/cloud-systems-management/prime-data-center-network-manager/nexus-fabric-controller-faq.html#MigrationfromCiscoDCNMtoNDFC
-----------------------------------------
If you find my reply solved your question or issue, kindly click the 'Accept as Solution' button and vote it as helpful.
You can also learn more about Cisco NDFC (previously known as DCNM) through our live Ask the Experts (ATXs) session. Check out this ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.
-----------------------------------------