Produced by Araxis Merge on 2/1/2017 2:56:29 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM\trunk\SDK\SampleCode\CS\CrmSvcUtilExtensions\BasicFilteringService | BasicFilteringService.cs | Tue Dec 20 19:51:44 2016 UTC |
| 2 | Wed Feb 1 19:56:29 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 67 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | // ======= ========== ========== ========== ========== ========== ========== == | |||||
| 2 | // This f ile is par t of the M icrosoft D ynamics CR M SDK code samples. | |||||
| 3 | // | |||||
| 4 | // Copyri ght (C) Mi crosoft Co rporation. All righ ts reserve d. | |||||
| 5 | // | |||||
| 6 | // This s ource code is intend ed only as a supplem ent to Mic rosoft | |||||
| 7 | // Develo pment Tool s and/or o n-line doc umentation . See the se other | |||||
| 8 | // materi als for de tailed inf ormation r egarding M icrosoft c ode sample s. | |||||
| 9 | // | |||||
| 10 | // THIS C ODE AND IN FORMATION ARE PROVID ED "AS IS" WITHOUT W ARRANTY OF ANY | |||||
| 11 | // KIND, EITHER EXP RESSED OR IMPLIED, I NCLUDING B UT NOT LIM ITED TO TH E | |||||
| 12 | // IMPLIE D WARRANTI ES OF MERC HANTABILIT Y AND/OR F ITNESS FOR A | |||||
| 13 | // PARTIC ULAR PURPO SE. | |||||
| 14 | // ======= ========== ========== ========== ========== ========== ========== == | |||||
| 15 | ||||||
| 16 | //<snippet BasicFilte ringServic e> | |||||
| 17 | using Syst em; | |||||
| 18 | ||||||
| 19 | using Micr osoft.Crm. Services.U tility; | |||||
| 20 | using Micr osoft.Xrm. Sdk.Metada ta; | |||||
| 21 | ||||||
| 22 | /// <summa ry> | |||||
| 23 | /// Sample extension for the C rmSvcUtil. exe tool t hat genera tes early- bound | |||||
| 24 | /// classe s for cust om entitie s. | |||||
| 25 | /// </summ ary> | |||||
| 26 | public sea led class BasicFilte ringServic e : ICodeW riterFilte rService | |||||
| 27 | { | |||||
| 28 | public BasicFilt eringServi ce(ICodeWr iterFilter Service de faultServi ce) | |||||
| 29 | { | |||||
| 30 | th is.Default Service = defaultSer vice; | |||||
| 31 | } | |||||
| 32 | ||||||
| 33 | privat e ICodeWri terFilterS ervice Def aultServic e { get; s et; } | |||||
| 34 | ||||||
| 35 | bool I CodeWriter FilterServ ice.Genera teAttribut e(Attribut eMetadata attributeM etadata, I ServicePro vider serv ices) | |||||
| 36 | { | |||||
| 37 | re turn this. DefaultSer vice.Gener ateAttribu te(attribu teMetadata , services ); | |||||
| 38 | } | |||||
| 39 | ||||||
| 40 | bool I CodeWriter FilterServ ice.Genera teEntity(E ntityMetad ata entity Metadata, IServicePr ovider ser vices) | |||||
| 41 | { | |||||
| 42 | if (!entityM etadata.Is CustomEnti ty.GetValu eOrDefault ()) { retu rn false; } | |||||
| 43 | re turn this. DefaultSer vice.Gener ateEntity( entityMeta data, serv ices); | |||||
| 44 | } | |||||
| 45 | ||||||
| 46 | bool I CodeWriter FilterServ ice.Genera teOption(O ptionMetad ata option Metadata, IServicePr ovider ser vices) | |||||
| 47 | { | |||||
| 48 | re turn this. DefaultSer vice.Gener ateOption( optionMeta data, serv ices); | |||||
| 49 | } | |||||
| 50 | ||||||
| 51 | bool I CodeWriter FilterServ ice.Genera teOptionSe t(OptionSe tMetadataB ase option SetMetadat a, IServic eProvider services) | |||||
| 52 | { | |||||
| 53 | re turn this. DefaultSer vice.Gener ateOptionS et(optionS etMetadata , services ); | |||||
| 54 | } | |||||
| 55 | ||||||
| 56 | bool I CodeWriter FilterServ ice.Genera teRelation ship(Relat ionshipMet adataBase relationsh ipMetadata , EntityMe tadata oth erEntityMe tadata, | |||||
| 57 | IServi ceProvider services) | |||||
| 58 | { | |||||
| 59 | re turn this. DefaultSer vice.Gener ateRelatio nship(rela tionshipMe tadata, ot herEntityM etadata, s ervices); | |||||
| 60 | } | |||||
| 61 | ||||||
| 62 | bool I CodeWriter FilterServ ice.Genera teServiceC ontext(ISe rviceProvi der servic es) | |||||
| 63 | { | |||||
| 64 | re turn this. DefaultSer vice.Gener ateService Context(se rvices); | |||||
| 65 | } | |||||
| 66 | } | |||||
| 67 | //</snippe tBasicFilt eringServi ce> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.