Skip to content

Commit 28ea147

Browse files
authored
Update README.md
1 parent ae020c9 commit 28ea147

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,18 @@ if(condition)
207207
var createResult = await odooRepository.CreateAsync(model);
208208
```
209209

210+
or
211+
```C#
212+
var model2 = new OdooDictionaryModel("res.partner") {
213+
{ "name", "test name" },
214+
{ "country_id", 20 },
215+
{ "city", "test city" },
216+
{ "zip", "12345" },
217+
{ "street", "test address" },
218+
{ "company_type", "company" },
219+
};
220+
var createResult = await odooRepository.CreateAsync(model);
221+
```
210222

211223

212224

0 commit comments

Comments
 (0)